Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to track user timeout or click 'x' button on webpage
Message
From
04/08/2005 09:10:23
Keith Payne
Technical Marketing Solutions
Florida, United States
 
 
To
04/08/2005 00:35:14
General information
Forum:
ASP.NET
Category:
Other
Environment versions
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01038427
Message ID:
01038481
Views:
20
>Hi,
>
>I like to know how can my web based application on ASP.NET able to
>track web user timeout and when user click the 'x' button on the
>top right of the webpage ?
>
>I am using SQL Server 2000 SP4.
>
>Anyone got any suggestion or ways to do it.
>Do I need to use Javascript on this area ?
>
>Thank you

There is a way to determine that IE is being closed in JavaScript.
function onClose()
{
   if(window.screenTop>10000)
      {
         alert("window.onClose works!")
      }
}
window.onunload=onClose
Timeout is set in machine.config and for each application in the web.config. I'm not aware of any events that fire when a session times out.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform