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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: derekd at rmci dot net
New email:
PHP Version: OS:

 

 [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-2023 The PHP Group
All rights reserved.
Last updated: Fri Feb 03 08:05:55 2023 UTC