This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01BFAA39.D9B0E060
Content-Type: text/plain;
        charset="iso-8859-1"

You cannot use cfcookie and cflocation on the same page because they both
write to the header. try using meta tag REFRESH instead of cflocation.

Shawn Regan

-----Original Message-----
From: Tariq Ahmed [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 19, 2000 10:26 AM
To: [EMAIL PROTECTED]
Subject: CFCOOKIES and CFLOCATION




        I discovered an oddity today. If you use CFCOOKIE to set
a cookie, and then later in your template redirect the browser
using CFLOCATION, the cookie will never be set. I guess because
CF queues the cookies to be set after the template is 100% executed, and
since the CFLOCATION takes you to another template the previous never 100%
finishes... !?

        Work arounds? The only thing I can think of for now is to spit out
a Meta Refresh so your page completely processes, and then the browser
goes to the next desired template.



              Tariq Ahmed - [EMAIL PROTECTED] - ICQ 6308515
         TIBCO Finance Technology - Web Group - Senior Web Engineer
     Work: 650-461-3472   Pager: 800-759-8888x1702632   Fax: 650-461-3003
                 3375 Hillview Avenue. Palo Alto, CA. 94304.

----------------------------------------------------------------------------
--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

------_=_NextPart_001_01BFAA39.D9B0E060
Content-Type: text/html;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2650.12">
<TITLE>RE: CFCOOKIES and CFLOCATION</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>You cannot use cfcookie and cflocation on the same =
page because they both write to the header. try using meta tag REFRESH =
instead of cflocation.</FONT></P>

<P><FONT SIZE=3D2>Shawn Regan</FONT>
</P>

<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: Tariq Ahmed [<A =
HREF=3D"mailto:[EMAIL PROTECTED]">mailto:[EMAIL PROTECTED]</A>=
]</FONT>
<BR><FONT SIZE=3D2>Sent: Wednesday, April 19, 2000 10:26 AM</FONT>
<BR><FONT SIZE=3D2>To: [EMAIL PROTECTED]</FONT>
<BR><FONT SIZE=3D2>Subject: CFCOOKIES and CFLOCATION</FONT>
</P>
<BR>
<BR>
<BR>

<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2>I =
discovered an oddity today. If you use CFCOOKIE to set</FONT>
<BR><FONT SIZE=3D2>a cookie, and then later in your template redirect =
the browser</FONT>
<BR><FONT SIZE=3D2>using CFLOCATION, the cookie will never be set. I =
guess because</FONT>
<BR><FONT SIZE=3D2>CF queues the cookies to be set after the template =
is 100% executed, and</FONT>
<BR><FONT SIZE=3D2>since the CFLOCATION takes you to another template =
the previous never 100%</FONT>
<BR><FONT SIZE=3D2>finishes... !?</FONT>
</P>

<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2>Work =
arounds? The only thing I can think of for now is to spit out</FONT>
<BR><FONT SIZE=3D2>a Meta Refresh so your page completely processes, =
and then the browser</FONT>
<BR><FONT SIZE=3D2>goes to the next desired template.</FONT>
</P>
<BR>
<BR>

<P><FONT =
SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; Tariq Ahmed - [EMAIL PROTECTED] - ICQ =
6308515</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
TIBCO Finance Technology - Web Group - Senior Web Engineer</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp; Work: =
650-461-3472&nbsp;&nbsp; Pager: 800-759-8888x1702632&nbsp;&nbsp; Fax: =
650-461-3003</FONT>
<BR><FONT =
SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3375 Hillview Avenue. Palo Alto, CA. =
94304.</FONT>
</P>

<P><FONT =
SIZE=3D2>---------------------------------------------------------------=
---------------</FONT>
<BR><FONT SIZE=3D2>Archives: <A =
HREF=3D"http://www.eGroups.com/list/cf-talk" =
TARGET=3D"_blank">http://www.eGroups.com/list/cf-talk</A></FONT>
<BR><FONT SIZE=3D2>To Unsubscribe visit <A =
HREF=3D"http://www.houseoffusion.com/index.cfm?sidebar=3Dlists&body=3Dli=
sts/cf_talk" =
TARGET=3D"_blank">http://www.houseoffusion.com/index.cfm?sidebar=3Dlists=
&body=3Dlists/cf_talk</A> or send a message to =
[EMAIL PROTECTED] with 'unsubscribe' in the =
body.</FONT></P>

</BODY>
</HTML>
------_=_NextPart_001_01BFAA39.D9B0E060--
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to