Deleting Session on Browser Close

View: New views
1 Messages — Rating Filter:   Alert me  

Deleting Session on Browser Close

by Dave Phillips-10 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

(sorry for those of you on cf-talk, but Judith recommended I send it here as
well and I didn’t even know about this list)

Hi all,

Most of you are probably familiar with the approach below to delete a
session on the closing of the browser.  I have, however an environment where
this is not working:

Browsers:  All IE 6+
O/S:  Linux (Websphere flavor I believe)
CF Ver:  MX 6.1  (I know, I know – not my decision. )

Has anyone experienced this before?  Here’s the code I’m using (FYI – this
same code works for an app hosted on a Windows box):

<cfif isdefined('Cookie.CFID') and isdefined('Cookie.CFTOKEN')>
        <cfset Variables.cfid_local = Cookie.CFID>
        <cfset Variables.cftoken_local = Cookie.CFTOKEN>
        <cfcookie name="CFID" value="#Variables.cfid_local#">
        <cfcookie name="CFTOKEN" value="#Variables.cftoken_local#">
</cfif>

Sincerely,

Dave Phillips


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: http://www.houseoffusion.com/groups/CF-Linux/message.cfm/messageid:4418
Subscription: http://www.houseoffusion.com/groups/CF-Linux/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.14