问题描述:

I have an image manipulation application for applying effects such as zoom, pan, rotate, etc. Is it possible to keep track of the order in which the user performs these manipulations? I have all these manipulations done in JavaScript.

So no communication with the web server. This can be easily done in a Windows app by maintaining log files, but is there any way to trace the user actions in a web application (keep a record)?

网友答案:

You can create a function to call after performing an action. This function can be something like:

function logFunction(loginfo){
  //perform ajax call to server and store in db or textfile or something
}
相关阅读:
Top