What fired Session_End?

K

KTW

Hi.

Is it possible to determine what fired the Session_End in Global.asax ?
I want to see if it's a normal session ending, or the application is beeing
reloaded from filechanges. (Like saving the Web.Config, etc.)

- KTW -
 
S

Scott M.

Not directly, but you could write to a log file in the Application_Start
event so that you would know when the application re-started (and thus
sessions ended). The only other time that Session_End would fire is when a
session times out or when session.abandon is called.
 

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

Top