Home All Groups Group Topic Archive Search About
Author
10 Jun 2005 9:57 AM
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 -

Author
12 Jun 2005 2:02 AM
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.


Show quoteHide quote
"KTW" <dont@spam.me> wrote in message
news:%23jmQ$KabFHA.3120@TK2MSFTNGP12.phx.gbl...
> 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 -
>

Bookmark and Share