Lost $_SESSION in Google Chrome



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
.



Relevant Pages

  • Re: session hang problem
    ... PHP 5.x.x you don't need to. ... store variables and objects inside session variables, ... every request from the site domain 'hangs up' from this ... Did you try asking your hosting provider? ...
    (comp.lang.php)
  • Re: session hang problem
    ... PHP 5.x.x you don't need to. ... When I have a problem like this which seems to be host related, the first people I talk to is the hosting company. ... store variables and objects inside session variables, ... every request from the site domain 'hangs up' from this ...
    (comp.lang.php)
  • Re: session handler auto log out
    ... back to the previously discussed situation where you get a request ... without a valid current session ID and do with it as you wish. ... client to the server if a session cookie is defined. ... php) _and_ that php invokes the session handler, ...
    (comp.lang.php)
  • Re: Using AJAX, how can the page get state infomation from backgroud PHP script?
    ... Have your original PHP store it's "status" information in a Session ... Have a timer on the Javascript side which creates a 2nd Ajax call ... If we send more than one request ...
    (comp.lang.php)
  • Re: Using AJAX, how can the page get state infomation from backgroud PHP script?
    ... Have your original PHP store it's "status" information in a Session ... Have a timer on the Javascript side which creates a 2nd Ajax call ... If we send more than one request ...
    (comp.lang.php)