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]