SV: [PHP-INST] Session-problem in linux
| From: | Tjelvar Eriksson | Date: | Tue, 26 Jun 2001 00:08:01 +0000 |
| Subject: | SV: [PHP-INST] Session-problem in linux | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-3327@lists.php.net to get a copy of this message | ||
this message was also posted in the general group.
"Tjelvar Eriksson" <tjemalaga@hotmail.com> skrev i
diskussionsgruppsmeddelandet:9h5v6a$df8$1@w153.z064000151.sjc-ca.dsl.cnc.net
...
> 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
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-install-unsubscribe@lists.php.net
> For additional commands, e-mail: php-install-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>