Reply to Re: Session data lost in Firefox

Your name:

Reply:


Posted by Jeremy Epstein on 05/23/05 12:27

Colin McKinnon wrote:

> Cookie policy in Firefox? Clear all your cookies, start a session, check for
> cookies.

The problem gets weirder and weirder...

I've set the session.save_path in my php.ini to a special ~/sessions
directory. When I open a new session, the session info comes up in
Firefox's cookie list, and the session appears as a new file in my
~/sessions directory.

Each time that I hit 'continue' in IE, I check the file in the
~/sessions directory, and it has new data in it. However, each time that
I hit 'continue' in Firefox, the file is still blank! So Firefox is able
to initiate the session, on the client and the server side (just like
IE), but it's not able to save any data to it.

I also tried this in Opera 7, btw, and it works fine just like in IE.
Also tried it on Firefox using a different machine, with same results.
So it's not because of any particular problem with my Firefox install. I
added the site to my list of allowed cookie sites in Firefox - made no
difference.

This is all so weird - everything is being handled by PHP, and the
session data is getting saved to a file on the server - so shouldn't
this all be a server-side process that's totally browser independent? I
can't even work out why using a particular browser matters! Is Firefox
sending the post data wrong, or something?

Jeremy

[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

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