|
 |
asp_web_howto thread: detect user session expired / window closed
Message #1 by PLuto <pluto2k@t...> on Tue, 21 Aug 2001 18:51:59 +0800
|
|
Hi! I'm need to update my table after a user logout! which may be
1. user closed window or
2. the session expired coz timeout or
3. user click logout button
so is the anyway that the server (asp) can detect on real-time which
user logout ?
Is there anyway the server know when any of this event happen ?
I have tried to use onunload but not working!
I have search for this answer on every forum but couldn't find! pls
help. This is urgent!
Thanks
pluto
Message #2 by "Alex Shiell, ITS, EC, SE" <alex.shiell@s...> on Tue, 21 Aug 2001 12:19:25 +0100
|
|
update your table in session_onend
in case 2 session_onend will run
in case 3 call session.abandon in the logout ASP in order to run
session_onend
for case 1, use the onbeforeunload event to open a new window that runs the
logout ASP
-----Original Message-----
From: PLuto [mailto:pluto2k@t...]
Sent: 21 August 2001 12:13
To: ASP Web HowTo
Subject: [asp_web_howto] detect user session expired / window closed
Hi! I'm need to update my table after a user logout! which may be
1. user closed window or
2. the session expired coz timeout or
3. user click logout button
so is the anyway that the server (asp) can detect on real-time which
user logout ?
Is there anyway the server know when any of this event happen ?
I have tried to use onunload but not working!
I have search for this answer on every forum but couldn't find! pls
help. This is urgent!
Thanks
pluto
|
|
 |