"caldera" <ca*****@none.c om> wrote in message news:On******** ******@TK2MSFTN GP09.phx.gbl...
Hi,
I want to check the session timeout finished in a minute. If there is a
minute, it sends a web page to caution the users. If he/she want to continue
he/she press the continue button . I was tried to thread but I can't sends
the message window.Javascri pt is not suitable because I used the IFrame
IFrames request are different. Is there any way sends to user these kinds
of message without a response.
Thanks for your helps.
You can't just send pages to the browser. That browser might have been closed
(or even the computer switched off) for the last 19 minutes.
Some things you could do:
* use <meta http-equiv=refresh> to refresh the page just before the session ends,
thereby keeping the session alive (might fail for a "postbacked " page)
* use <meta http-equiv=refresh> to redirect to some "session expired" page, after the
session should have safely expired
* use javascript setTimeout to alert the user that the session is about to expire.
Watch out: if you set that timeout to (say) 19 minutes, and the user doesn't
notice the alert for another two minutes, the alert box is still there but the session
did expire.
Hans Kesting