Reply to Re: Firefox cookie oddities

Your name:

Reply:


Posted by C. on 07/25/07 10:13

On 21 Jul, 17:57, Paul Duffy <odubt...@yahoo.dot.coh.dot.yoo.kay>
wrote:
> Not sure what's going on here or even if it /is/ a PHP problem but...
>
> Using PHP 5.1.6 on a remote server, accessing the page locally and I have
> certain preconditions for setting cookies, not setting cookies, updating
> cookies, etc.
>
> When accessed from Konqueror this all behaves as expected, when accessed
> from Firefox however it all starts looking a bit weird.
>
> The problem is that when the browser sends a cookie value that isn't stored
> in the database (and, so far, when $_SESSION has /a/ cookie_id value),
> while the desired result of a new db row and a reset cookie and session
> value are achieved, the variables I'm using to trace what's happening
> report values as though the cookie was always there.
>
> Now, this _doesn't_ happen when I use Konqueror (I haven't yet tested
> anything else) and everything happens as I expect it to. As it goes, if
> you don't know how it's works when it's working, you won't know how to fix
> it when it's broke so as much as it may all come to the same conclusion
> I'd still like to know what's happening.
>

You're more likely to get a reply if you can reduce your code down to
something which demonstrates the problem *and* *nothing* *else*

I would suggest you look at the paths on the cookies.

C.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация