Implementing Application Idle time out for web sites

  • Thread starter Thread starter Shikari Shambu
  • Start date Start date
S

Shikari Shambu

Hi,
I am interested in implementing a idle session time out for my ASP.NET
application running on Windows 2003/ IIS6.

Does ASP.NET or IIS 6 provide a setting to do this. Or, do I need to use
Javascript? What are the best practices.

TIA
 
I use some javascript in the onload attribute of the <body> tag; it looks something like this:

<body onload="setTimeout('AutoLogoff',10000)" >

Where 10000 is the (Session.Timeout - some-fudge-factor); and AutoLogoff is a Javascript function that changes the document.location to my logoff ASPX page.


Scott
Hi,
I am interested in implementing a idle session time out for my ASP.NET
application running on Windows 2003/ IIS6.

Does ASP.NET or IIS 6 provide a setting to do this. Or, do I need to use
Javascript? What are the best practices.

TIA
 
Back
Top