#41738 [Opn->Fbk]: session file lock not released
| From: | sniper@php.net | Date: | Thu, 21 Jun 2007 13:34:39 +0000 |
| Subject: | #41738 [Opn->Fbk]: session file lock not released | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-114013@lists.php.net to get a copy of this message | ||
ID: 41738
Updated by: sniper@php.net
Reported By: e dot mauviere at geoclip dot fr
-Status: Open
+Status: Feedback
Bug Type: Session related
Operating System: Win XPPRO
PHP Version: 5.2.3
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows (zip):
http://snaps.php.net/win32/php5.2-win32-latest.zip
For Windows (installer):
http://snaps.php.net/win32/php5.2-win32-installer-latest.msi
Previous Comments:
------------------------------------------------------------------------
[2007-06-19 17:27:27] e dot mauviere at geoclip dot fr
Description:
------------
This appeared suddendly on my server. a session_start() in a php script
called by a first one with a first session_start() fails :
Warning: session_start() [function.session-start]:
open(C:\WINDOWS\TEMP\\sess_dasb7s8kc3op8u6220rupt7ed4, O_RDWR) failed:
Permission denied (13) in c:\wwwroot\_fl7\session.php on line 2
After checking in windows temp, the session file appears to be locked
(read only).
I had to restart the server, all was working properly again, then, few
hours later, same problem suddendly appears.
Reproduce code:
---------------
<?php
session_start();
echo $_SESSION["test"];
$_SESSION["test"]=1;
?>
<html>
<body>
<a href='session.php'>recall</a>
</body>
</html>
Expected result:
----------------
after clicking recall link : 1
Actual result:
--------------
Warning: session_start() [function.session-start]:
open(C:\WINDOWS\TEMP\\sess_dasb7s8kc3op8u6220rupt7ed4, O_RDWR) failed:
Permission denied (13) in c:\wwwroot\_fl7\session.php on line 2
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=41738&edit=1