Re: Lost $_SESSION in Google Chrome [message #178591 is a reply to message #178589] |
Tue, 10 July 2012 09:16 |
Jerry Stuckle
Messages: 2598 Registered: September 2010
Karma:
|
Senior Member |
|
|
On 7/10/2012 5:02 AM, falk(dot)fiedler(at)googlemail(dot)com wrote:
> hello,
>
> my local Google Chrome loses session on every page request. I tested with:
>
>
> <?php
>
> session_start();
>
> echo session_id()."<br>";
>
> if(!isset($_SESSION['temp']))
> {
> $_SESSION['temp']=99;
> }
> else
> {
> $_SESSION['temp']--;
> }
>
> echo $_SESSION['temp'];
>
> ?>
>
> the session_id() is new on every page request and the $_SESSION['temp' is always 99.
>
> But only on my local webserver. The script works on a webspace. What's wrong with the local config of Chrome?
>
> Thank you
>
>
> Falk
>
This is a PHP newsgroup. If you want to know what's wrong with Chrome,
I suggest you ask Chrome support.
Does it work with Firefox and/or IE? If so, then it's almost definitely
not a PHP problem.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
|
|
|