php.net |  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: donraman@php.net Assigned: ericsten (profile)
Status: Wont fix Package: WinCache (PECL)
PHP Version: Irrelevant OS: Windows
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:
MUST BE VALID
Solve the problem:
33 - 26 = ?
Subscribe to this entry?
Further comment on this bug is unnecessary.
 
 [2010-08-10 16:32 UTC] donraman@php.net
Description:
------------
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 (http://pecl.php.net/package-changelog.php?package=memcache&release=3.0.4).

For details look at http://forums.iis.net/p/1170499/1953086.aspx#1953086

Reproduce code:
---------------
N/A

Expected result:
----------------
N/A

Actual result:
--------------
N/A

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-08-31 19:45 UTC] info at eurid dot org
http://www.medprixonline.com/ seroquel generic ryyl http://www.centiprix.net/ propecia generic name %-]]
 [2011-09-12 20:35 UTC] naha at nahacen dot jp
http://www.yourpillshouse.com/ colchicine cannabis ybwmn http://www.qualitytablets.net/ lexapro wfw
 [2014-02-20 17:42 UTC] ericsten@php.net
-Assigned To: ksingla +Assigned To: ericsten -Block user comment: No +Block user comment: Yes
 [2014-10-10 20:18 UTC] ericsten@php.net
-Status: Assigned +Status: Wont fix
 [2014-10-10 20:18 UTC] ericsten@php.net
[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.

Thx!
    --E.
 
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Tue Sep 26 15:01:24 2023 UTC