in Php, there is a script, runs occasionally:
session_start();
$_SESSION['x']++;
and something to use it, backround-service, runs "forever":
session_start();
do
{
echo $_SESSION['x']; // never gets updated!
} while(true);
the problem is, the echo
echoes the same result, like it never gets updated. But both are running. Maybe sessions should be reloaded somehow?