Is there an event that I can tap into in Global.asax to execute some SQL in ADO.NET for logging every time a request is made to the application?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Most of the time you would be able to get the information about the request in the IIS logs. You can use logparser which provides SQL like functionality to query what you want.
To add more information to IIS logs you can use Response.AppendToLog
To capture all request for an App, you can use Application_BeginRequest event of the Global.asax