[thelist] CF: cookie versus cflocation?!?

Frank framar at interlog.com
Sat Sep 23 00:28:49 CDT 2000


<cfcookie name="#UCase('#name.goeshere#')#" value="#form.user#" expires="1">
<cflocation url="http://www.MyServer.com/index.cfm">

Can someone help me figure this out? I'm writing a login page, where 
when the correct criteria are fullfilled, a cookie is laid, the user 
is then re-directed.

In this case, when the cflocation follows cfcookie, the cookie 
doesn't get laid.  If I comment out the cflocation, it does. I've 
tried kludging it by creating a separate (but identical) cfif that 
contained the cflocation after the cookie is to be written, but I get 
the same results.

Does anyone know what this is about? Suggestions for a workaround?

Thanks.
-- 


Frank Marion                      Loofah Communications
frank at loofahcom.com               http://www.loofahcom.com




More information about the thelist mailing list