What I have done in the past is set a client-side script that does the
redirect after a set period of time has expired.
window.setTimeout('sessionExpired()', 3600000);
function sessionExpired(){
window.location.href = "SessionExpired.aspx";
}//
This of course will execute after 1 hours has passed even if there was
activity, You could cancel/reset the Timeout with each Ajax request
using the clearTimeout method and recalling the setTimeout function.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ajax.NET Professional" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/ajaxpro
The latest downloads of Ajax.NET Professional can be found at
http://www.ajaxpro.info/
Don't forget to read my blog at http://weblogs.asp.net/mschwarz/
-~----------~----~----~----~------~----~------~--~---