Re: [Q] session variables wouldn't keep contents.
| From: | Chung Ha-Nyung | Date: | Wed, 14 Mar 2001 01:01:21 +0000 |
| Subject: | Re: [Q] session variables wouldn't keep contents. | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-43743@lists.php.net to get a copy of this message | ||
My second example program.
---- a.php ----
<?php
session_start();
session_register("name");
$HTTP_SESSION_VARS["name"] = "test";
echo session_encode();
?>
---- a.php ----
result is as following.
====================
!name|
====================
and, /tmp/sess_7d755f490ba4e50da20d7167e2966771 file has only
"!name|" without any stuff relating to "test" which I inserted
into $HTTP_SESSION_VARS["name"]
I can't figure out why this odd things happen.
apache and php's configuration files are the same as thoes in
my home computer and both of two computer use Debian/woody.
Anybody has some clues about it? why session variables' contents
wouldn't stored.
Regard,
--
Chung Ha-Nyung <alita@kldp.org>