ID: 16840 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: IIS related Operating System: Win2000 PHP Version: 4.2.0 New Comment:
i m encountering the same problem. I use IIS on the 2k Server (default installation iff IIS is v5 i guess). My PHP Version is 4.1.0. Maybe i should upgrade anyway soon. I m olso using a DB session Handler (Ying Zhangs form phpbuilder.com) and i can see that the Session Variables are in the DB but sometimes there is just nomore session anymore (just as described by mrieger). Cant tell you when exactly this causes to happen, but it definitly does, sometimes. When i loose a Session, i m olso not able anymore to open a new one. Even if I close all my Browser windows, a new Session ist not startet (... but as i said: only if it got lost before) I always can fix this again by deleting all entrys from the session table. Then everything works fine again. Dont knwo if this helps you but i strongly believe that there might be the same reason doing unusefull stuff here. best regards & thank you manuel Previous Comments: ------------------------------------------------------------------------ [2002-04-25 21:16:17] [EMAIL PROTECTED] 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 this bug report at http://bugs.php.net/?id=16840&edit=1