Adrian, Is that CFIF block supposed to kill the cookies, thus detaching the session? If so, the only thing I can think of is to specify, in the CFCOOKIE statements, the parameter expires="NOW". Perhaps omitting it sends a value which some browsers interpret differently than others?
Matthieu -----Original Message----- From: Adrian Lynch [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 31, 2002 7:49 AM To: CF-Talk Subject: Session not being killed on close of browser Sorry for bring up this old chestnut, I've searched the web, the archives, under the sofa and still can't find an answer. I'm using this code in Application.cfm.. <CFAPPLICATION NAME="myApp" CLIENTMANAGEMENT="Yes" SESSIONMANAGEMENT="Yes" APPLICATIONTIMEOUT="#CreateTimeSpan(1,0,0,0)#" CLIENTSTORAGE="myApp_clientData" SETCLIENTCOOKIES="Yes"> <cfif IsDefined("Cookie.CFID") AND IsDefined("Cookie.CFTOKEN")> <cfset cfid_local = Cookie.CFID> <cfset cftoken_local = Cookie.CFTOKEN> <cfcookie name="CFID" value="#cfid_local#"> <cfcookie name="CFTOKEN" value="#cftoken_local#"> </cfif> which I understand, and which works for some people in my office. But not for me. I have IE6 where as they run IE5.* I've closed ALL my browsers, leaving it a long time before opening afresh, and even loggin in this morning I had the same session running. We're running MX on NT if that makes a difference. Could it be the browser is the problem? Is there anything wrong with the code? Has anyone coming across this before? Are there any pitfalls to be aware of in the rest of the code in the site? Any thought would be nice? Adrian Lynch Thoughtbubble Ltd ---------------------- United Kingdom http://www.thoughtbubble.net Ph: +44 (0) 20 7387 8890 ---------------------- The information in this email and in any attachments is confidential and intended solely for the attention and use of the named addressee(s) . Any views or opinions presented are solely those of the author and do not necessarily represent those of Thoughtbubble. This information may be subject to legal, professional or other privilege and further distribution of it is strictly prohibited without our authority. If you are not the intended recipient, you are not authorised to disclose, copy, distribute, or retain this message. Please notify us on +44 (0) 20 7387 8890 ______________________________________________________________________ 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/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

