>- see footer for list info -<
Ok this is doing my head in now, so time to post J

 

I am trying to set a cookie with the following code, I cannot use cfcookie
as it needs to be lower case.

 

<cfset variables.expiry = "#dateformat(dateAdd('yyyy',10,now()), "ddd,
dd-mmm-yyyy")# #timeformat(now(), "hh:mm:ss GMT")#">

            

<cfheader name="Set-Cookie"
value='at=#variables.at#;domain=economist.com;path=/;expires=#expiry#'>

 

If I do not set the expiry then it works, if I do set the expiry then the
cookie is not created. I have checked and re-checked that the format of the
expiry is correct. Anyone else got any idea why it doesn't work ?

 

 

 

--

Russ Michaels

Certified ColdFusion Professional

My Blog: www.russ.michaels.me.uk

 

Commerical ColdFusion & BlueDragon Hosting: www.cfmxhosting.co.uk

FREE CFML Developer hosting : www.cfdeveloper.co.uk

 

 

 

--

Russ

 

_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to 
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
>- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<

Reply via email to