session_end event

M

Mark Field

Assuming that IIS is not restared, and that the web server is not restarted,
should the "session_end" event in the global file ALWAYS fire or will there
be times when it will not fire?

protected void Session_End(Object sender, EventArgs e)

{

}


Thanks in advance.

Mark
 
A

Alvin Bruney

There is no session so the session end event cannot fire. The implication is
that for session end event to fire, there must be a current session. What
problems are you experiencing?
 
T

Teemu Keiski

Another note is that Session_End is fired only in InProc (in-process) mode.
If mode is StateServer or SQLServer, it won't be fired.
 

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,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top