php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58957 memcache session save handler does not work with https
Submitted: 2009-11-20 04:06 UTC Modified: 2009-11-20 05:25 UTC
From: bobrov at vl dot ru Assigned:
Status: Not a bug Package: memcache (PECL)
PHP Version: 5.2.11 OS: CentOS 5
Private report: No CVE-ID: None
 [2009-11-20 04:06 UTC] bobrov at vl dot ru
Description:
------------
[php.ini]
session.save_handler = "memcache"
session.save_path = "tcp://192.168.20.250:11211"

Reproduce code:
---------------
session_start();

$old = $_SESSION["boo"];

echo "$old<br/>";

if ( !$old ) {
	$_SESSION['boo'] = 'new';
} else {
	$_SESSION['boo'] = 'old';
}

session_write_close();

Expected result:
----------------
I must see following results during page requests:

req1: empty
req2: 'new'
req3: 'old'
...
reqn: 'old'

Actual result:
--------------
If I request page through https I always get empty result.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-11-20 05:25 UTC] tony at daylessday dot org
Sorry, but your problem does not imply a bug in PECL itself.  For a
list of more appropriate places to ask for help using PECL, please
visit http://pecl.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PECL.

PHP or PECL/memcache have no idea what protocol was used and do not care.
Not a PECL/memcache problem definitely.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Nov 07 17:01:31 2024 UTC