|
Posted by Bruno Santos on 02/22/05 12:36
Hello.
I'm using 2 cookies to control some user environmente.
every time the user logs in, the cookie is set, but when i try to change
the value of that cookie,
deleting it firts and then setting a new one with another value, when i
print the value of that cookie
the value is never the new one, but always the firts.
im setting the cookie with:
setcookie ("cookie_name",cookie_value,time()+time-to-expiration);
when deleting it, i do
setcookie ("cookie_name");
or
setcookie ("cookie_name","",time()-time-to-expiration);
but it never works
the browser im testing it is firefox (linux)
but in IE is not working either...
PHP version is PHP-5.0.3
Apache version is Apache-2.0.52
Cheers
Bruno Santos
--
Say no to software patents
www.nosoftwarepatents.com/
--
bvsantos@hal.min-saude.pt
--
Divisao de Informatica
informatica@hal.min-saude.pt
Tel: +351 272 000 155
Fax: +351 272 000 257
--
Hospital Amato Lusitano
geral@hal.min-saude.pt
Tel: +351 272 000 272
Fax: +351 272 000 257
Navigation:
[Reply to this message]
|