php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4461 Exception w/IIS5 in php4isapi
Submitted: 2000-05-15 23:15 UTC Modified: 2000-07-11 05:29 UTC
From: jmuller2 at uswest dot net Assigned:
Status: Closed Package: Session related
PHP Version: 4.0 Release Candidate 2 OS: Windows 2000 Server
Private report: No CVE-ID: None
 [2000-05-15 23:15 UTC] jmuller2 at uswest dot net
Microsoft Windows 2000 Server - 5.0.2195  Build 2195

This script ...

<?php
   echo "First line of output\n";
   session_start();
   session_register('counter');
   echo "Second line of output\n";
?>

Return only 'First line of output'


and produces this in the event viewer each time the page is loaded ....

The HTTP server encountered an unhandled exception while processing the ISAPI Application '
php4isapi + 0x1127
wam!STR::STR(char const *) + 0x239
wam!DllGetClassObject + 0x808
w3svc!_WamDictatorDumpInfo@8 + 0x2DB
w3svc!HTTP_REQUEST::GetInfo(char const *,class STR *,int *) + 0xD61
w3svc!HTTP_REQUEST::GetInfo(char const *,class STR *,int *) + 0xC39
w3svc!HTTP_REQUEST::GetInfo(char const *,class STR *,int *) + 0xBA1
w3svc!HTTP_HEADERS::FindValue(char const *,unsigned long *) + 0x58B
w3svc!HTTP_HEADERS::FindValue(char const *,unsigned long *) + 0x2D5
w3svc!ADDRESS_CHECK::UnbindAddr(void) + 0x175
w3svc!ADDRESS_CHECK::UnbindAddr(void) + 0xEF
ISATQ!_AtqSpudInitialized@0 + 0x20F
ISATQ!CDirMonitor::EqualKeys(char const *,char const *) + 0x129
 + 0x5286636F
'. 

Here's my php.ini session section

[Session]
session.save_handler      = files   ; handler used to store/retrieve data
session.save_path         = ./php/tmp    ; argument passed to save_handler
                                    ; in the case of files, this is the
                                    ; path where data files are stored
session.use_cookies       = 1       ; whether to use cookies
session.name              = PHPSESSID  
                                    ; name of the session
                                    ; is used as cookie name
session.auto_start        = 0       ; initialize session on request startup
session.cookie_lifetime   = 0       ; lifetime in seconds of cookie
                                    ; or if 0, until browser is restarted
session.cookie_path       = /       ; the path the cookie is valid for
session.cookie_domain     =         ; the domain the cookie is valid for
session.serialize_handler = php     ; handler used to serialize data
                                    ; php is the standard serializer of PHP
session.gc_probability    = 1       ; percentual probability that the 
                                    ; 'garbage collection' process is started
                                    ; on every session initialization
session.gc_maxlifetime    = 1440    ; after this number of seconds, stored
                                    ; data will be seen as 'garbage' and
                                    ; cleaned up by the gc process
session.referer_check     =         ; check HTTP Referer to invalidate 
                                    ; externally stored URLs containing ids
session.entropy_length    = 0       ; how many bytes to read from the file
session.entropy_file      =         ; specified here to create the session id
; session.entropy_length    = 16
; session.entropy_file      = /dev/urandom
session.cache_limiter     = nocache ; set to {nocache,private,public} to
                                    ; determine HTTP caching aspects
session.cache_expire      = 180     ; document expires after n minutes


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-11 05:29 UTC] sas at cvs dot php dot net
This should not happen anymore. Please upgrade to the latest version. Thank you for your report.
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Thu Aug 18 20:05:44 2022 UTC