cookies in firefox

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
yshaf13
Forum Commoner
Posts: 72
Joined: Mon Apr 03, 2006 7:59 pm

cookies in firefox

Post 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?
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

Maybe your firefox is configured not to accept any cookies?
yshaf13
Forum Commoner
Posts: 72
Joined: Mon Apr 03, 2006 7:59 pm

re

Post 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.
bascule
Forum Newbie
Posts: 1
Joined: Thu Apr 19, 2007 9:22 am

Re: re

Post 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.
Post Reply