Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

force no click on 'X'



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

10+ Year Member

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?



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

5+ Year Member

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'


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

5+ Year Member

Ya. Better way just set session or cookie timeout.

Featured Threads

Hot Threads This Week

Hot Threads This Month