You just need to increase the timeout for the session on the server so that you donβt need to solve the problem at all.
If this is not an option, you can make a user control that periodically checks if the session is active through ajax, for example, using JQuery (not verified):
$(function() {
setInterval(CheckSession, 10000);
});
function CheckSession() {
$.get("/CheckSession.aspx", function(data) {
$("body").append("<p>" + data + "<p/>");
if(data = "")
$("#loginform").fadein(200);
});
}
CheckSession - /http-, -
&httprespone.addstring(&websession.get('userid'))
, , - :
, .
, javascript.