php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #66957 sessions breaking
Submitted: 2014-03-26 06:57 UTC Modified: 2021-03-25 16:37 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: mibus32 at gmail dot com Assigned: cmb (profile)
Status: Closed Package: memcache (PECL)
PHP Version: 5.5.10 OS: Windows 7
Private report: No CVE-ID: None
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 !
Your email address:
MUST BE VALID
Solve the problem:
39 - 10 = ?
Subscribe to this entry?

 
 [2014-03-26 06:57 UTC] mibus32 at gmail dot com
Description:
------------
php version 5.5.8 memcache 3.0.8 pre-compiled dlls
couchbase latest

Seems like because of entroduced locking of sessions, when users opens several urls on the server simultaneously (e.g. with the middle mouse button) the resulting pages open with non-readed session (user is not authorized).
problem is solved by using memcached-2.2.7.


Test script:
---------------
  ini_set('session.save_handler','memcache');
  ini_set('session.save_path','localhost:11211');


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2021-03-25 16:37 UTC] cmb@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: cmb
 [2021-03-25 16:37 UTC] cmb@php.net
The official bug tracker for PECL/memcache is now at
<https://github.com/websupport-sk/pecl-memcache/issues>.

So, if this is still an issue with either of the current memcache
versions (4 or 8), please file an issue there.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun Jul 13 11:01:33 2025 UTC