Lost $_SESSION in Google Chrome
- From: falk.fiedler@xxxxxxxxxxxxxx
- Date: Tue, 10 Jul 2012 02:02:28 -0700 (PDT)
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
.
- Follow-Ups:
- Re: Lost $_SESSION in Google Chrome
- From: J.O. Aho
- Re: Lost $_SESSION in Google Chrome
- From: Silver Moonstone
- Re: Lost $_SESSION in Google Chrome
- From: Arno Welzel
- Re: Lost $_SESSION in Google Chrome
- From: Jerry Stuckle
- Re: Lost $_SESSION in Google Chrome
- Prev by Date: Invitacion a INFOSOFT 2012 [PUCP]
- Next by Date: Re: Extracting multiple matches from a string using preg_replace
- Previous by thread: Invitacion a INFOSOFT 2012 [PUCP]
- Next by thread: Re: Lost $_SESSION in Google Chrome
- Index(es):
Relevant Pages
|