Page 1 of 1

Very Odd Cookie Problem

Posted: Thu Jul 06, 2006 2:12 pm
by Technocrat
I am totally stumped so I figured I would try to see if anyone else has any ideas. I have a product that is being used by more than 1,000 people. I have 1 user out of them all that has this issue and its got me totally at a loss.

setcookies() works great in all browsers except IE 6.x. For some reason it just refuses to set the cookie. Like I said its one users site which is why I am totally confused. :?

phpinfo shows session.use_cookies is on

Anyone have any suggestions?

Posted: Thu Jul 06, 2006 2:20 pm
by Benjamin
Does he have cookies disabled? Does he have Norton or some other cookie blocking software installed?

Posted: Thu Jul 06, 2006 2:21 pm
by Technocrat
It does it to me too, so it not that. :cry:

Posted: Thu Jul 06, 2006 2:42 pm
by Technocrat
Google'ing turned up a number of posts with people having the same rare issue. But no solutions :x

Posted: Thu Jul 06, 2006 5:38 pm
by Technocrat
Figured it out. For some reason which I cannot explain it was the expire value which was causing the problem

It was time()+($time*60)
$time in this case was 60

I changed it to time()+60*60*24*30 and it worked. :?

Posted: Thu Jul 06, 2006 6:02 pm
by RobertGonzalez
Maybe it was a system time versus server time issue? Who knows. IE gets away with weird things all the time.

Posted: Thu Jul 06, 2006 6:03 pm
by Technocrat
Yeah no kidding. Its why I try to not use it as much as possible.

Posted: Thu Jul 06, 2006 6:16 pm
by dull1554
firefox ftw baby....

although i am kinda impressed with Micro$oft's attempt at a good browser... IE7