Bug #8649 Updated: session.auto_start can't write to files in isapi mode

From: Date: Sat, 12 Jan 2002 11:55:03 +0000
Subject: Bug #8649 Updated: session.auto_start can't write to files in isapi mode
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-76753@lists.php.net to get a copy of this message
ID: 8649 Updated by: lobbin Old Summary: session.auto_start can't write to files in isapi mode Reported By: huntp@panix.com Old Status: Open Status: Feedback Bug Type: IIS related Operating System: NT4 (SP6a) PHP Version: 4.0.4 New Comment: Can you this with 4.1.1? Previous Comments: ------------------------------------------------------------------------ [2001-01-11 00:34:21] huntp@panix.com On WinNT4(SP6a), the following script works in both cgi and isapi mode with the default php.ini, which has session auto_start turned off: <?php session_start(); session_register("cntr"); $cntr++; echo "Counter is: $cntr"; ?> If I turn on session auto_start in php.ini with: session.auto_start = 1 all is well in cgi mode, but isapi mode generates the following error: Counter is: 1 Warning: open(/tmp\sess_20b9e255f10a4bde02c3f9fe0d5d6779, O_RDWR) failed: m (2) in Unknown on line 0 Warning: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0 The /tmp directory exists, is world read/writeable and is working fine in all modes without session.auto_start and in cgi mode with auto_start. Changing session.save_path to '\tmp' (from '/tmp') makes no difference. PHP is 4.0.4, build date 12/20/2000 Thanks. ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=8649&edit=1

« previous php.dev (#76753) next »