PHP 4.0 Bug #5370: Session won't pass any variables in this platform.
| From: | eggli at giga dot net dot tw | Date: | Wed, 05 Jul 2000 00:39:22 +0000 |
| Subject: | PHP 4.0 Bug #5370: Session won't pass any variables in this platform. | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-23408@lists.php.net to get a copy of this message | ||
From: eggli@giga.net.tw
Operating system: Windows 98
PHP version: 4.0.1pl2
PHP Bug Type: Session related
Bug description: Session won't pass any variables in this platform.
A simple prog like this:
index.php:
{
$foo = "test";
session_register("foo");
printf('<a href="script.php?%s">Link</a>', SID);
}
script.php:
{
session_start();
echo $foo;
}
This prog works perfect in Unix-like system, but won't work under Windows 98, I've heard
it won't work under any win32 system, too.
Here's my .ini:
[Session]
session.save_handler = files
session.save_path = g:\php\php\tmp\
session.use_cookies = 0 session.name = PHPSESSID
session.auto_start = 0 session.cookie_lifetime = 180
session.cookie_path = \
session.cookie_domain = session.serialize_handler = php
session.gc_probability = 1
session.gc_maxlifetime = 1440
session.referer_check = session.entropy_length = 0
session.entropy_file = 1
session.entropy_length = 16
session.entropy_file = /dev/urandom
session.cache_limiter = nocache
session.cache_expire = 180