detecting session timeout in Session_End

J

jules

Session_End (global.aspx) is called when Session.Abandon() gets called
explicitly, or when the Session times out (20 minutes by default).

Is there a way to tell which event caused Session_End to be called from
within Session_End?

I can think of some "tricks" (adding a "closing" item to the session just
before doing a Session.Abandon(), for example) but is there a clean way to
do it?
 

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

Similar Threads

Detecting a session timeout 4
Session_End 3
Session_End() 1
Session_End 4
Session_End questions 3
global.aspx and session_end event 8
Global.asax: Session_End() Behavior 12
How Do You Detecting Session Timeout? 4

Members online

No members online now.

Forum statistics

Threads
473,777
Messages
2,569,604
Members
45,223
Latest member
Jurgen2087

Latest Threads

Top