Must be something on my end. The production server this code does not work in IE and the dev server it does work in IE.
Strange. > -----Original Message----- > From: Chad Gray [mailto:cg...@careyweb.com] > Sent: Thursday, November 12, 2009 11:40 AM > To: cf-talk > Subject: kill cookie on browser close > > > Anyone notice that in IE this codes does not appear to work anymore? > Firefox it works just fine. > > I don't think it is just my browser... I have tried another computer with > IE8 and it does not kill the session cookie. > > > <!--- if the user closes their browser, make sure all session variables > get killed ---> > <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> > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:328308 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4