Click here to Skip to main content
15,877,446 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to track user activity.
Means after login .
Url of all the pages he visited.Action perform by him on that page like update or deleted or view.
and save the above record in database and display it in grid or in page to admin .
all the record of a particular user.



and second thing how to restrict user, that which page he can visited.Which action he can perform on that page .

control level restriction and page level restriction.

can any give me idea about this thing .
or any example


Thanks in advance .
Posted
Comments
deepakaitr12345 20-Apr-12 9:44am    
According to me this is possible by using the log details.what page is accessed by the user and you can use the privileges option for the restrict the user.you can set the privileges in turms of view,edit,delete, and hence on as you want. Thanks

1 solution

Restricting users is relatively easy with ASP.NET authentication and authorization[^]

Tracking though can be a bit more complicated. Possibly the best way would be to construct a custom HTTPHandler to intercept requests and log them.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900