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.
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.