Session-problems in linux
| From: | Tjelvar Eriksson | Date: | Tue, 26 Jun 2001 00:08:53 +0000 |
| Subject: | Session-problems in linux | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-55062@lists.php.net to get a copy of this message | ||
Hi everyone,
I can't get the sessions working in linux.
I changed:
/usr/local/lib/php.ini session.auto_start = 1
so when the browser go to the page, a cookie is recieved.
In the /tmp-dir a file is created and everything looks great.
However, when I register a variable and set it to a value,
only the name, not the value is stored. I've tried to store
strings, arrays, integers but no luck.
I do:
session_register("foo");
$foo="Great day";
and the file will only contain ":foo|" with no accompanying value.
I'm really stuck here, and everything works fine in windows
but not in RH7.1. I would be very greatful for any hints here.
/t eriksson