From:             [EMAIL PROTECTED]
Operating system: Win2000
PHP version:      4.2.0
PHP Bug Type:     IIS related
Bug description:  IIS5 session behaviour with php 4.2.0 (see #8989)

Hi!
 
I created my own session handlers (using a database) and used the CGI
binary version of PHP. Once I started a session, the session variables got
lost through the pages, although the session variables were inserted
correctly into the database. 
After playing around with it all day, I re-installed PHP 4.1.2 – and again
it wouldn’t work. 
 
I then installed Apache 2.0 (without making any changes to PHP), and –
it’s working!!!!
 
* There definitely is a bug with sessions in collaboration with IIS. *
 
I tried to call the vars with $_SESSION, and set register_globals on. 
No matter how I set the session.referer_check (according to a posting in
#8989), it will not run with IIS5. 
 
The funniest thing is, the scripts were actually developed on PHP 4.1.2
running on RedHat 7.2 with Apache and then moved onto the windows server
running IIS5, where they didn’t run anymore. The relevant settings in
php.ini were the same on windows and on RedHat, and the scripts don't use
any platform-specific features. 
 
Cheers, 
 
 
Marwin
 

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

Reply via email to