i want to create an activity log on an application i have wereby on the website i am able to see exactly what the user did on the page meaning which buttons was pressed and what else he did . . .

Is it possible ?

Recommended Answers

All 3 Replies

For each event you want to track, write a record, describing the event, to a log file or database table, when that event occurs. Since you can trap the event within an EventHandler, this should be fairly simple. Applies to C# or VB.

Be aware that such a file is going to get pretty large very quickly if there are a lot of users being tracked, and you have only one function or program actually writing the data because it has to have exclusive use of the file in order to write it.

you can also use windows event log or save it directly to the database.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.