From:             [EMAIL PROTECTED]
Operating system: Win98 SE
PHP version:      4.1.2
PHP Bug Type:     Session related
Bug description:  Why don't write $_SESSION and $HTTP_SESSION_VAR

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 bug report at http://bugs.php.net/?id=16644&edit=1
-- 
Fixed in CVS:        http://bugs.php.net/fix.php?id=16644&r=fixedcvs
Fixed in release:    http://bugs.php.net/fix.php?id=16644&r=alreadyfixed
Need backtrace:      http://bugs.php.net/fix.php?id=16644&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=16644&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16644&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=16644&r=notwrong
Not enough info:     http://bugs.php.net/fix.php?id=16644&r=notenoughinfo
Submitted twice:     http://bugs.php.net/fix.php?id=16644&r=submittedtwice

Reply via email to