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
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: donraman@php.net
New email:
PHP Version: OS:

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-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 02:01:30 2024 UTC