Easwaran Paramasivam
asked on
How to implement Auditing in ASP.NET Application.
User performs some operation say for example Place an order, Delete an order and so on.
How to implement Auditing?
If you provide sample application that could be grateful. Thanks.
How to implement Auditing?
If you provide sample application that could be grateful. Thanks.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I recommend passing the user I'd when changing data back to the database. By the userid you can get the username incase you need to have a page that displays all the relevant information with actions.
ASKER
But for triggers we could not pass parameters. Isn't it? How to tackle this situation?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I've seen the above article. That is nice.
They asked to store the username in a Session variable and read latter in Trigger. What about multiple users logged in the application at the same time? How to handle that case?
They asked to store the username in a Session variable and read latter in Trigger. What about multiple users logged in the application at the same time? How to handle that case?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks.
ASKER