-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

CFCOOKIE doesn't work if there's a CFLOCATION on the same page.

> -----Original Message-----
> From: Gina Shillitani [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, September 19, 2000 2:31 PM
> 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/cf-talk@houseoffusion.com/
> To Unsubscribe visit 
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=list
s/cf_talk or send a message to [EMAIL PROTECTED] with
'unsubscribe' in the body.

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.8 for non-commercial use <http://www.pgp.com>

iQA/AwUBOce9kQraVoMWBwRBEQLewQCgmyIIxnTpHDN6Jk4A3QtjqBnyCTMAnRjy
ppEaLPRkDaRuTfJkMmEYpf3V
=oK6x
-----END PGP SIGNATURE-----
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
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