On the contrary... I think it is a very eloquent little hack! :P

-----Original Message-----
From: Beattie, Barry [mailto:[EMAIL PROTECTED] 
Sent: Thursday, 13 November 2003 9:10 AM
To: CFAussie Mailing List
Subject: [cfaussie] RE: sessions won't go away




Taco:

Ah Ha! so CF sessions DO work differently to ASP ones. Hmmmm........


Steve:
thanx, mate. your code seems to work but it's looks like a nasty little
hack. 

<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>


no other ways to do this (ie: does everyone else use Steve's code)? 


I was really hoping the JSessionID would work like the ASP session
value.
close all browsers and you've effectivly ended your session.


cheers
barry.b




-----Original Message-----
From: Taco Fleur [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 12 November 2003 6:24 PM
To: CFAussie Mailing List
Subject: [cfaussie] RE: sessions won't go away


As far as I know, sessions need to time-out (the setting in your
cfapplication, or default under cf admin) or you need to destroy them...

Taco Fleur
0421 851 786
Tell me and I will forget
Show me and I will remember
Teach me and I will learn 


> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Beattie, Barry
> Sent: Wednesday, 12 November 2003 4:11 PM
> To: CFAussie Mailing List
> Subject: [cfaussie] sessions won't go away
> 
> 
> 
> Hi all.
> 
> I thought CF sessions would die when the browser is closed, 
> just like ASP, but aparently not.
> 
> the buggers won't die unless you explicitly logout or delete 
> the cookies (using the browser settings). I set up the J2EE 
> sessions on server but it didn't help.
> 
> any ideas?
> 
> cheers
> barry.b
> 
> ---
> You are currently subscribed to cfaussie as: 
> [EMAIL PROTECTED] To unsubscribe send a blank email to 
> [EMAIL PROTECTED]
> 
> MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia 
http://www.mxdu.com/ + 24-25 February, 2004


---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to
[EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to
[EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

Reply via email to