homepage Welcome to WebmasterWorld Guest from 54.225.57.156
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
Forum Library, Charter, Moderator: open

JavaScript and AJAX Forum

    
force no click on 'X'
yllai




msg:3455587
 2:32 am on Sep 20, 2007 (gmt 0)

hi all,

how can I force user click the link of 'logout' when they want to logout from the page? Anyway for me to not allow them exit the browser by clicking the 'X' at the right top of the browser?

thanks.

 

lavazza




msg:3455607
 3:19 am on Sep 20, 2007 (gmt 0)

It's their browser (aka user agent) not yours

Probably the only thing you can force them to do via a script is 'Form an opinion that your site ain't worth revisiting - at least not without ensuring scripts are disabled'

Eric




msg:3455626
 3:57 am on Sep 20, 2007 (gmt 0)

Ya. Better way just set session or cookie timeout.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved