This is a multi-part message in MIME format.

------=_NextPart_000_0022_01C02272.94398E70
Content-Type: text/plain;
        charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

[CF-Talk] CFCOOKIE problems

Your problem is the use of the CFLOCATION on the same page as the CFCOOKIE
tag.  This is a documented issue (not bug) with ColdFusion.  There are
numerous potential workarounds including client side redirection.

DC

  -----Original Message-----
  From: Gina Shillitani [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, September 19, 2000 18:31
  To: '[EMAIL PROTECTED]'
  Subject: [CF-Talk] CFCOOKIE problems


  I am attempting to use this:

  <CFCOOKIE NAME="profID" VALUE="#profID#" EXPIRES="NEVER">

  to set a cookie on a page. It is not setting the cookie. I'm not sure what
  I'm doing wrong but it is aggravating me to no end.

  Here is the block of code the above tag is in:

  <cfelse>
          <cfset profID = 0>
          <cfmodule template="../getProfID.cfm" geckoKey="#geckoKey#"
                  profile_id="#checkCode.profile_id#">
          <cfset SaveMe=Form.SaveMe>
          <CFIF SaveMe IS 1>
          <CFCOOKIE NAME="profID" VALUE="#profID#" EXPIRES="NEVER">
          </CFIF>
          <cflocation url="/index.cfm?profID=#profID#&flogin=1">
  </cfif>

  Gina Shillitani
  [EMAIL PROTECTED]
  --------------------------------------------------------------------------
----
  Archives: http://www.mail-archive.com/[email protected]/
  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_000_0022_01C02272.94398E70
Content-Type: text/html;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>[CF-Talk] CFCOOKIE problems</TITLE>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.3018.900" name=3DGENERATOR></HEAD>
<BODY>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN =
class=3D744404719-19092000>Your=20
problem is the use of the CFLOCATION on the same page as the CFCOOKIE =
tag.&nbsp;=20
This is a documented issue (not bug) with ColdFusion.&nbsp; There are =
numerous=20
potential workarounds including client side =
redirection.</SPAN></FONT></DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
class=3D744404719-19092000></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
class=3D744404719-19092000>DC</SPAN></FONT></DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
class=3D744404719-19092000></SPAN></FONT>&nbsp;</DIV>
<BLOCKQUOTE style=3D"MARGIN-RIGHT: 0px">
  <DIV align=3Dleft class=3DOutlookMessageHeader dir=3Dltr><FONT =
face=3DTahoma=20
  size=3D2>-----Original Message-----<BR><B>From:</B> Gina Shillitani=20
  [mailto:[EMAIL PROTECTED]]<BR><B>Sent:</B> Tuesday, September =
19,=20
  2000 18:31<BR><B>To:</B> =
'[EMAIL PROTECTED]'<BR><B>Subject:</B>=20
  [CF-Talk] CFCOOKIE problems<BR><BR></DIV></FONT>
  <P><FONT size=3D2>I am attempting to use this:</FONT> </P>
  <P><FONT size=3D2>&lt;CFCOOKIE NAME=3D"profID" VALUE=3D"#profID#"=20
  EXPIRES=3D"NEVER"&gt;</FONT> </P>
  <P><FONT size=3D2>to set a cookie on a page. It is not setting the =
cookie. I'm=20
  not sure what</FONT> <BR><FONT size=3D2>I'm doing wrong but it is =
aggravating me=20
  to no end.</FONT> </P>
  <P><FONT size=3D2>Here is the block of code the above tag is =
in:</FONT> </P>
  <P><FONT size=3D2>&lt;cfelse&gt;</FONT>=20
  <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT =
size=3D2>&lt;cfset profID =3D=20
  0&gt;</FONT> <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT=20
  size=3D2>&lt;cfmodule template=3D"../getProfID.cfm" =
geckoKey=3D"#geckoKey#"=20
  </FONT><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT=20
  size=3D2>profile_id=3D"#checkCode.profile_id#"&gt;</FONT>=20
  <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT =
size=3D2>&lt;cfset=20
  SaveMe=3DForm.SaveMe&gt;</FONT> =
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  <FONT size=3D2>&lt;CFIF SaveMe IS 1&gt;</FONT>=20
  <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT =
size=3D2>&lt;CFCOOKIE=20
  NAME=3D"profID" VALUE=3D"#profID#" EXPIRES=3D"NEVER"&gt;</FONT>=20
  <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT=20
  size=3D2>&lt;/CFIF&gt;</FONT> =
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  <FONT size=3D2>&lt;cflocation=20
  url=3D"/index.cfm?profID=3D#profID#&amp;flogin=3D1"&gt;</FONT> =
<BR><FONT=20
  size=3D2>&lt;/cfif&gt;</FONT> </P>
  <P><FONT size=3D2>Gina Shillitani</FONT> <BR><FONT=20
  size=3D2>[EMAIL PROTECTED]</FONT> <BR><FONT=20
  =
size=3D2>----------------------------------------------------------------=
--------------</FONT>=20
  <BR><FONT size=3D2>Archives: <A=20
  href=3D"http://www.mail-archive.com/[email protected]/"=20
  =
target=3D_blank>http://www.mail-archive.com/[email protected]/</A=
></FONT>=20
  <BR><FONT size=3D2>To Unsubscribe visit <A=20
  =
href=3D"http://www.houseoffusion.com/index.cfm?sidebar=3Dlists&amp;body=3D=
lists/cf_talk"=20
  =
target=3D_blank>http://www.houseoffusion.com/index.cfm?sidebar=3Dlists&am=
p;body=3Dlists/cf_talk</A>=20
  or send a message to [EMAIL PROTECTED] with =
'unsubscribe' in=20
  the body.</FONT></P></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_0022_01C02272.94398E70--

------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
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