php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4686 502 Bad Gtwy. when Using Session Variables when compiled as a Zeus ISAPI module
Submitted: 2000-05-30 04:05 UTC Modified: 2000-08-02 01:25 UTC
From: derekd at rmci dot net Assigned:
Status: Closed Package: Session related
PHP Version: 4.0.0 Release OS: Linux 2.2.15
Private report: No CVE-ID: None
 [2000-05-30 04:05 UTC] derekd at rmci dot net
When PHP 4 is compiled as a zeus ISAPI module the following code while cause Zeus to display a '502 Bad Gateway' Error Message.

<? 
  session_start();
  session_register(blah);
  
  echo "Hello World\n";
?>

I have both the CGI and ISAPI version running on this machine, if in the Zeus administration server I switch to the CGI version everything will work fine, and if I switch back to the ISAPI version once I have a session created everything will work fine as well, but if I close my browser and reconnect I will see a '502 Bad Gateway' Error message again.  You will then have to run the CGI version again just long enough to run the session_start() which will create you a new session, after you have your new session you can switch back to the ISAPI version and everything will work fine until you lose your session...





Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-08-02 00:57 UTC] waldschrott@php.net
Please verify that it?s still happening using the latest version of PHP (release 4.0.1pl2 or CVS).
 [2000-08-02 01:25 UTC] waldschrott@php.net
closed due to user-feedback, fixed in 4.0.1
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 17:01:29 2024 UTC