[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] Cookies not persistent
>
> Ok, I checked and my browser is set to accept persistent cookies. Here is
> the code that sets and reads the cookies:
>
> [set-cookie name=loginu value="[value mv_username]" expire="Mon, 03-Jun-2005
> 12:00:00 GMT"][set-cookie name=loginp value="[value mv_password]"
> expire="Mon, 03-Jun-2005 12:00:00 GMT"]
>
> [set name=autologin interpolate=1][read-cookie loginu][/set]
> [if scratch autologin ne ]
> <font face="Verdana" size="2"><b>Hello [scratchd autologin]!</b></font>
> [/if]
>
> This code works perfectly to set and read the cookie until the browser is
> closed and reopened. No cookie is read then and [read-cookie loginu]
> returns nothing. I've been over and over this and I can't figure it out.
> Thanks!
>
I can't see anything wrong. Have you verified that your browser is
receiving all of the cookie data, including the expiry date?
I think it may be a browser problem. Have you tried another browser
to see what happens?
--
_/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/
_/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h
_/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.biz
_/ _/ _/_/_/_/ _/ _/_/_/ _/ _/