ID:               41738
 Comment by:       adesanto_4sm4n at yahoo dot co dot id
 Reported By:      e dot mauviere at geoclip dot fr
 Status:           No Feedback
 Bug Type:         Session related
 Operating System: Win XPPRO
 PHP Version:      5.2.3
 New Comment:

This might help you:
http://www.php.net/manual/en/function.session-write-close.php

Reproduce code:
---------------
<?php
session_start();
echo $_SESSION["test"];
$_SESSION["test"]=1;
session_write_close(); <-- should fix your problem
?>
<html>
<body>
<a href='session.php'>recall</a>
</body>
</html>


Previous Comments:
------------------------------------------------------------------------

[2007-06-29 01:00:01] php-bugs at lists dot php dot net

No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".

------------------------------------------------------------------------

[2007-06-21 13:34:36] [EMAIL PROTECTED]

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



------------------------------------------------------------------------

[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

Reply via email to