M
MattB
Hi. I have a couple of questions regarding the Session_End event. I have
some clean-up code in this event and it does fire when the session times
out, which is good.
I also want to have this (or similar) code fire when the session ends
prematurely, like when the browser window is closed or Session.Clear is
called. It appears that does not happen, but is there any way I can
force it or is there a different event that would fire in these cases?
Also, in my Session_End event, when this even fires, it it just before
the session ends or just after? I'd like to be able to access some
information I have in session state but I don't know if I should expect
it to be there at that time or not.
Thanks!
Matt
some clean-up code in this event and it does fire when the session times
out, which is good.
I also want to have this (or similar) code fire when the session ends
prematurely, like when the browser window is closed or Session.Clear is
called. It appears that does not happen, but is there any way I can
force it or is there a different event that would fire in these cases?
Also, in my Session_End event, when this even fires, it it just before
the session ends or just after? I'd like to be able to access some
information I have in session state but I don't know if I should expect
it to be there at that time or not.
Thanks!
Matt