|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8649 session.auto_start can't write to files in isapi mode
Submitted: 2001-01-11 00:34 UTC Modified: 2002-02-02 06:39 UTC
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: huntp at panix dot com Assigned:
Status: No Feedback Package: IIS related
PHP Version: 4.0.4 OS: NT4 (SP6a)
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
24 + 42 = ?
Subscribe to this entry?

 [2001-01-11 00:34 UTC] huntp at panix dot 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:

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



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-01-12 06:55 UTC]
Can you this with 4.1.1?
 [2002-02-02 06:39 UTC]
No feedback was provided for this bug, so it is being suspended.
If you are able to provide the information that was requested,
please do so and change the status of the bug back to "Open".
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 17 06:01:28 2024 UTC