Bug #16644 Updated: Why don't write $_SESSION and $HTTP_SESSION_VAR
| From: | sniper@php.net | Date: | Wed, 17 Apr 2002 04:40:21 +0000 |
| Subject: | Bug #16644 Updated: Why don't write $_SESSION and $HTTP_SESSION_VAR | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-5152@lists.php.net to get a copy of this message | ||
ID: 16644
Updated by: sniper@php.net
Reported By: mylinux@tiscalinet.it
Status: Closed
Bug Type: Session related
Operating System: Win98 SE
PHP Version: 4.1.2
New Comment:
(meant that it's fixed in 4.2.0 RC4)
Previous Comments:
------------------------------------------------------------------------
[2002-04-17 00:39:44] sniper@php.net
This bug has already been fixed in the latest released version of
PHP, which you can download at http://www.php.net/downloads.php
------------------------------------------------------------------------
[2002-04-16 17:01:50] mylinux@tiscalinet.it
I find this workaround for PHP 4.1.2 for PWS on WIN98 to avoid
problems
in Session management with register_globals = Off
Set in Php.ini file set session.auto_start = 0
For each file.Php add at the begin (1,2 line apfter <?Php )
Session_Start();
$HTTP_SESSION_VARS[FreeVar]=FreeValue;
The Session_Start(); must be 'write' manually to avoid that PHP create
more than
1 file for Session (with session.auto_start create one file
each time I open PHP file)
and $HTTP_SESSION_VARS[FreeVar]=freevalue to
enable php to save $_SESSION[] value on file
I don't know why nut it work
:) Vidde
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=16644&edit=1