1) have you tried this with different configs of IE? security, cookies, etc
2) how exactly are you destroying the cookie when the user closes the
browser (ie: not logs out first)?
3) since the security object is still session scoped, is the old hack
(in Applcation.cfm) to destroy sessions on browser close any use to
you for your IE problem?
<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>
On 10/4/06, Sammy Larbi <[EMAIL PROTECTED]> wrote:
This is more just a heads up interesting note that I found today than a
CFC related problem. It's only related to CFCs in that I've got a
session "security" object, which handles all the login related
information and rules.
Basically, what happens is:
1) if the security object is not defined, create it.
2) the security object creates a cookie which stores the userID (encrypted)
3) later, I check the userID by calling a method on the security object
The cookie is set to expire when the user logs out, or when they close
the browser.
What happens?
In Firefox, when the browser is closed, both the session and the cookie
are destroyed, so that when the user returns, everything happens again
as normal.
In Internet Explorer, however, when the browser is closed, only the
cookie is destroyed. When the user returns before the session would
normally time out, they get an error, because the security object still
exists and expects the cookie to exist too.
I wonder where the real difference lies?
-Sam
You are subscribed to cfcdev. To unsubscribe, please follow the instructions at
http://www.cfczone.org/listserv.cfm
CFCDev is supported by:
Katapult Media, Inc.
We are cool code geeks looking for fun projects to rock!
www.katapultmedia.com
An archive of the CFCDev list is available at
www.mail-archive.com/[email protected]
You are subscribed to cfcdev. To unsubscribe, please follow the instructions at
http://www.cfczone.org/listserv.cfm
CFCDev is supported by:
Katapult Media, Inc.
We are cool code geeks looking for fun projects to rock!
www.katapultmedia.com
An archive of the CFCDev list is available at
www.mail-archive.com/[email protected]