Session looses its data
Posted: Thu Feb 08, 2007 8:18 am
Hi,
this is not the first time I'm working with PHP sessions, but I'm a bit puzzled.
Right now I'm working on a project for somebody who's webspace has PHP Version 4.4.4 (1and1.com hosting).
The sessions dont behave as expected.
session_id() gives me steady ids - thats ok.
It's possible to add data into $_SESSION array and use them.
E.g. $_SERVER[xy] = $_POST[xy] - is no problem.
But with the next call to another page or the same page the data is gone.
Like Preview-Page --> Result.page
I tried a couple of ini_set("session.use_cookies", "1") a.so. but result is the same - or it seems so.
Does anybody have an idea?
Here a link to the phpinfo: http://www.eifelstuff.com/phpinfo.php
THANKS!
this is not the first time I'm working with PHP sessions, but I'm a bit puzzled.
Right now I'm working on a project for somebody who's webspace has PHP Version 4.4.4 (1and1.com hosting).
The sessions dont behave as expected.
session_id() gives me steady ids - thats ok.
It's possible to add data into $_SESSION array and use them.
E.g. $_SERVER[xy] = $_POST[xy] - is no problem.
But with the next call to another page or the same page the data is gone.
Like Preview-Page --> Result.page
I tried a couple of ini_set("session.use_cookies", "1") a.so. but result is the same - or it seems so.
Does anybody have an idea?
Here a link to the phpinfo: http://www.eifelstuff.com/phpinfo.php
THANKS!