We did a lot of testing on the setting of cookies using redirects and found
that while we were unable to do it with a CFLOCATION in Cold Fusion, it can
be done and there is nothing in the RFC to indicate otherwise. In our case
we were able to use an apache module to process the page before cold fusion
and if a redirect was needed, the module would do it, if not, it would let
Cold Fusion take over. We did find some oddities though with respect to how
many years in the future the cookie had to be set for.,. I think 2039 was
the latest date we could use and get consistent results. This is not in the
RFC but appeared in practice.
Justin
-----Original Message-----
From: Dylan Bromby [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 31, 2001 11:13 AM
To: CF-Talk
Subject: RE: COOKIE expiration :((
yeah you're right. good grief. i should've checked my own example huh?
although i really thought (at least some time ago) that you couldn't access
the value of a cookie in the same page you set it. although i just tested my
own example and i was able to.
that'll save me future embarrassment. ;) or maybe not...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists