You are here: Re: sessions in FF and IE « PHP Language « IT news, forums, messages
Re: sessions in FF and IE

Posted by pritaeas on 04/19/07 09:25

You should use

if (! session_id ()) session_start ();

instead of just session_start().

Regards, Hans

"Chello" <...> wrote in message
news:d27f2$46028f2b$3ea34df4$7452@news.chello.nl...
> Hello all,
>
> I use sessions to store some information which I can use in all the pages
of
> my website. This works fine in FF(1.5) but in IE (7) I have a new session
in
> every page? I checked my code I do a session_start() once at the top of
the
> pages.
> Is there a setting in IE which forces to start a new session?
>
> in IE I have enabled cookies for all sites, I disabled all browser addons.
> What am I missing. Is there anybody out there who knows how to solve this?
>
> I looks like this is not a PHP problem but maybe sombody has encountered
the
> same problem and has an answer for me.
>
> thanks in advance
>
>

 

Navigation:

[Reply to this 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

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