session events problem in asp.net

  • Thread starter Thread starter Uzi Baruch
  • Start date Start date
U

Uzi Baruch

Hi

i have a problem with the session end event on global.aspx class.

the problem is that the event never happens, the session ends but the event
doesnt raise.

does anybody knows why is that ?

thanks,
Uzi
 
How do you know that the Session has ended? A Session ends (by default) 20
minutes after the last request from the browser. Closing the browser doesn't
end a Session. And if you're using Visual Studio.Net to debug, and stop the
debugger, you also kill the application.

--
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
 
Uzi

Have you tried putting a button on your web form and wiring it up to an
event handler which fires Session.Abandon()?

Click on the button and see if your Session End events fire.

All the best,
Anthony
 
Back
Top