Urgent help pls.Session_onend does'nt fire

  • Thread starter Thread starter Raghu Raman
  • Start date Start date
R

Raghu Raman

Hi ,

am storing the session id in my database when the user signs in.The
session_on start is firing nice & am doing my DB operations there &
quite working good.

But when the user closes the web browser(by clicking the x button)
suddenly , i need to delete the particular session id from my DB.But the
session_onend doesn't fire.

Could u pls how to tackle this situation.

OR pls tell me how to get the all active sessions that my asp.net
maintains.

Thanks & Regards
Raghu
 
Raghu said:
Hi ,

am storing the session id in my database when the user signs in.The
session_on start is firing nice & am doing my DB operations there &
quite working good.

But when the user closes the web browser(by clicking the x button)
suddenly , i need to delete the particular session id from my DB.But
the session_onend doesn't fire.

Could u pls how to tackle this situation.

OR pls tell me how to get the all active sessions that my asp.net
maintains.

Thanks & Regards
Raghu

Note: Session_End does NOT fire when the user closes his/her browser!
There is no (reliable) way to detect "closing a browser" or "navigating away".

The session ends (default) 20 minutes after the last request from that browser
has been served, whether that browser still displays the served page or not.

Hans Kesting
 
But friend, could u pls tell me any way to list all teh active sessions
id, my app uses.


Regards
Raghu
 

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

Back
Top