Re: Lost $_SESSION in Google Chrome [message #178601 is a reply to message #178589] |
Tue, 10 July 2012 18:52 |
Arno Welzel
Messages: 317 Registered: October 2011
Karma:
|
Senior Member |
|
|
falk(dot)fiedler(at)googlemail(dot)com, 10.07.2012 11:02:
> 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.
Works for me - no problem here with my local Apache.
Tested with Google Chrome 20.0.1132.47 m on Windows 7 Pro x64.
> But only on my local webserver. The script works on a webspace. What's wrong with the local config of Chrome?
What's wrong with your local webserver?
--
Arno Welzel
http://arnowelzel.de
http://de-rec-fahrrad.de
|
|
|