richard smith

richard smith

  • 1.8k
  • 281
  • 150.7k

Capture Name of Form Accessed

Jan 25 2013 10:14 PM
We have an ASP.Net webform(s) at work which is used for HR purposes.  When the form was initially set-up there were no user restrictions set-up as to who could/couldnot have access to what form.  A work-around implemented was that frmPrivateData would capture the user name of each person who accessed it and send to an access database, then if in that access database the user name should not have access and email was fired off stating the date/time the user accessed the page.

My question is, how in C# can you capture the name of the web form that is being accessed?

Answers (3)