Session_OnEnd not fired in SQL Server mode

S

steve

This event does not fire when session is stored in SQL or
in the SessionState service, this is documented. If you
think about, it has to be this way, because these
implementations are able to serve web farms or gardens (1
application instance per cpu on multi-cpu machines). If
the end-of-session was fired, in which application
instance on which machine would the event fire? Of course
the framework could provide some other means of allowing
for session cleanup, but it doesn't.
 

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,755
Messages
2,569,536
Members
45,014
Latest member
BiancaFix3

Latest Threads

Top