|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-11-20 05:25 UTC] tony at daylessday dot org
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 03:00:01 2025 UTC |
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.