homepage Welcome to WebmasterWorld Guest from 50.19.172.0
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
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

10+ Year Member



 
Msg#: 3455585 posted 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

5+ Year Member



 
Msg#: 3455585 posted 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

5+ Year Member



 
Msg#: 3455585 posted 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