Page 1 of 1

cookies in firefox

Posted: Wed Apr 18, 2007 7:52 pm
by yshaf13
hi, I'm writing a simple content managment system and i wanted to implement session control, when i finally got it to work it would only work in IE and not in firefox, even just using "setcookie()" to make a cookie it would save the cookie to my computer but it would not be availible on any other pages. What could be the problem here?

Posted: Thu Apr 19, 2007 12:25 am
by volka
Maybe your firefox is configured not to accept any cookies?

re

Posted: Thu Apr 19, 2007 9:07 am
by yshaf13
not only is it set to accept cookies, i can even view the cookies that it accepted through the options=>privacy box and the necessary cookies are there but when i try to access them with a script it doesn't work.

Re: re

Posted: Thu Apr 19, 2007 9:26 am
by bascule
Snoop your http traffic using httpfiddler and look at whether the cookie is being passed to the server.
+
print_r ($_COOKIE); will list all the cookies that are being passed to a script.
yshaf13 wrote:not only is it set to accept cookies, i can even view the cookies that it accepted through the options=>privacy box and the necessary cookies are there but when i try to access them with a script it doesn't work.