|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #59359 The session handler for WinCache doesn't appear to lock the session
Submitted: 2010-08-10 16:32 UTC Modified: 2014-10-10 20:18 UTC
From: Assigned: ericsten (profile)
Status: Wont fix Package: WinCache (PECL)
PHP Version: Irrelevant OS: Windows
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2010-08-10 16:32 UTC]
Excerpt from the IIS forum:
The session handler for WinCache doesn't appear to lock the session when session_start() is called like the default PHP session handlers. This can cause problems with two pages attempting to write to or read from the session at the same time, such as in an AJAX application. The default behavior of locking the entire session from when session_start() is called until the page finishes executing or session_write_close() is called is kinda heavy-handed, but the different way WinCache handles it unfortunately broke one of my web apps. Is there any chance that this can be fixed, with possibly an ini setting to lock or not lock the session? FYI, memcache fixed this same issue a bit over a year ago (

For details look at

Reproduce code:

Expected result:

Actual result:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2011-08-31 19:45 UTC] info at eurid dot org seroquel generic ryyl propecia generic name %-]]
 [2011-09-12 20:35 UTC] naha at nahacen dot jp colchicine cannabis ybwmn lexapro wfw
 [2014-02-20 17:42 UTC]
-Assigned To: ksingla +Assigned To: ericsten -Block user comment: No +Block user comment: Yes
 [2014-10-10 20:18 UTC]
-Status: Assigned +Status: Wont fix
 [2014-10-10 20:18 UTC]
[Mopping up old bugs]

Changing behavior at this point might cause undesirable side effects.  I'm leaving the current implementation as-is.

Feel free to open a new bug if you believe this is a blocking issue.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Jun 16 03:01:28 2024 UTC