[PHP-DEV] PHP 4.0 Bug #4461: Exception w/IIS5 in php4isapi From: jmuller2 <email protected>
Date: 05/15/00

From: jmuller2 <email protected>
Operating system: Windows 2000 Server
PHP version: 4.0 Release Candidate 2
PHP Bug Type: Session related
Bug description: Exception w/IIS5 in php4isapi

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 <email protected> + 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 <email protected> + 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

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>