this is a snippet you could write to the page (javascript) to set your
cookie but I agree with a previous post that setting "expires" to never
keeps the cookie.

expDate=new Date();
expDate=expDate.getTime()+(1000*60*60*24*365);
expDate=new Date(expDate);
currentSettings+="myCookie=name1:value1&name2=value2;expires="+expDate.toGMTString()+";
document.cookie=currentSettings;





"Michael Lugassy" <[EMAIL PROTECTED]> on 06/05/2001 11:40:44 AM

Please respond to [EMAIL PROTECTED]

To:   CF-Talk <[EMAIL PROTECTED]>
cc:

Subject:  KILL THE COOK!


Please try to look into this again.
this thread has been reviewd and partially answered by many (actually 13
people)
but still - no answer. can anyone try to help out?

> I'm getting really frustrated from this CFCOOKIE thing.
> Apparently, after I assign the cookie with Timeout="Never" the cookie
> is deleted and terminated every time the user closes the browser.
> I tried to change Timeout to 14 days, but it didn't help.
> Closing the browser terminates the cookie.
>
> Is there a diffrent way to assign cookies?
>
> PLEASE HELP!!!
>
> -=Michael.
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to