[thelist] cflocation woes

scott.brady at homeqonline.com scott.brady at homeqonline.com
Mon Jun 11 09:13:35 CDT 2001


 From what I understand, cfcookie won't set a cookie till the page is actually
displayed to the browser.  Using a cflocation prevents the page from ever
displaying on the browser, so you can't set a cookie (not even with <cfcookie>,
which seems kind of silly).

So, what you can do is use a javascript re-direct (which of course only works
for javascript-enabled browsers).

Or, you could try putting the cookie info into a session variable, then do the
cflocation, then set the cookie on the next page based on the Session variable's
information.

Scott






More information about the thelist mailing list