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
>
>
[Back to original message]
|