Catch events in global.asax

S

Smash

Is it possible to get information about page events in global.asax, so
i can log everything user does at page request event?
 
B

Bruno Alexandre

global.asax has not that propose, the only events on that file are
Application and Server related, you can only log the user entry on your
website on that page

for what you want, you can always use the Master.Page

create a blank master.page with only the content control,
for all your webpages, say this is their master.page

on this masterpage use the Page_Load event to call a function that will
record the user id and webpage that is visiting (using
server.requestvariables() )

--

Bruno Alexandre
København, Danmark

"a Portuguese in Denmark"

Blog. http://balexandre.blogspot.com/
Photos. http://www.flickr.com/photos/balexandre/
 
X

xAvailx

Another alternative from Bruno's suggestion is to create a base page
for which all of your other pages inherit from. Then implement the
audit logging in the base page.

HTH
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,776
Messages
2,569,602
Members
45,184
Latest member
ZNOChrista

Latest Threads

Top