Oops! I'm sorry. I should have read the documentation before sending that answer. Omitting the EXPIRES attribute makes it so that the cookie stays open only as long as the browser is open. That's exactly what Adrian was shooting for. Okay. Now that I understand that, I can only suggest that you look at the security settings in the Internet Options. I know that the options there have different entries for "cookies" and "per-session cookies", so that you can enable/disable them independently. Perhaps your version of the browser handles this differently? It seems crazy, but maybe it's forcing the per-session cookies to be written to the machine somehow?
Again, sorry about the shooting-from-the-hip silly answer. Matthieu -----Original Message----- From: Smith, Matthew P -CONT(DYN) [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 31, 2002 11:13 AM To: CF-Talk Subject: RE: Session not being killed on close of browser I thought that by omitting it, the default value sent WAS now? Matt >>-----Original Message----- >>From: Cornillon, Matthieu [mailto:[EMAIL PROTECTED]] >>Sent: Wednesday, July 31, 2002 10:01 AM >>To: CF-Talk >>Subject: RE: Session not being killed on close of browser >> >>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 >> >> >> >> ______________________________________________________________________ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.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

