Urgent help pls.Session_onend does'nt fire

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
 
H

Hans Kesting

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
 
R

Raghu Raman

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

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top