Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

prompt reminder when cross the window

Status
Not open for further replies.

neltan

Programmer
Nov 4, 2002
82
AU
Hi all,

I would like to remind user of webapp to logout, rather than just cross the window.

I would like to prompt reminder when they click on the "x" of the window. How to do that?

Best Regards,
Eric Tan
 
There is no way to determine if the page is being unloaded because the user has closed the browser or has simply clicked on a link. So any message would be getting displayed all the time as users move from page to page.

However, once the user closes the browser the session will be killed - requiring the user to log in again anyway.

Never be afraid to share your dreams with the world.
There's nothing the world loves more than the taste of really sweet dreams.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top