You can put some code in your Application.cfm to automatically log out a user if they close a browser:
<cflock scope = "Session" timeout = "30" type = "readonly"> <CFCOOKIE NAME="CFID" VALUE="#SESSION.CFID#"> <CFCOOKIE NAME="CFTOKEN" VALUE="#SESSION.CFTOKEN#"> </cflock> tom www.basic-ultradev.com > 2) Does anyone know any JavaScript that will stop a user from clicking > the Close button on their browser, and bring up an alert telling them > they must log out? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists