This isn't an exact science but JavaScript can work well |
| Robbe Morris replied to Jobi K John at 09-May-08 12:25 |
when your intent it to close the session in the browser after x time span. Look up window.setTimeOut in this modal dialog sample for javascript and adapt the approach to solve your problem. When the time out occurs, change the window.location.href to the desired url. The url you route the user to should perform a Session.Abandon in the server side code.
http://www.eggheadcafe.com/articles/javascript_modal_dialog.asp
|
| Biography |
Robbe is a 2004-2008 Microsoft MVP for C# and the .NET Evangelist for Alinean Inc.. He is also the co-founder of EggHeadCafe. Robbe enjoys scuba diving with the folks at wet-n-fla.
 |
|