Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:78748 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 3674 invoked from network); 5 Nov 2014 21:31:41 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Nov 2014 21:31:41 -0000 Authentication-Results: pb1.pair.com smtp.mail=yohgaki@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=yohgaki@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.213.175 as permitted sender) X-PHP-List-Original-Sender: yohgaki@gmail.com X-Host-Fingerprint: 209.85.213.175 mail-ig0-f175.google.com Received: from [209.85.213.175] ([209.85.213.175:34158] helo=mail-ig0-f175.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 49/B1-27106-C379A545 for ; Wed, 05 Nov 2014 16:31:40 -0500 Received: by mail-ig0-f175.google.com with SMTP id h3so9597099igd.2 for ; Wed, 05 Nov 2014 13:31:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=8PsuvHB6ta8MM/ZP/4c/WOi/sXeqMeStyha1YCiLzsk=; b=Brq1ilvR6zvbg4hPJf4216DTJooOf++iuHQckSHut+zfAyZIazng5T0uzyLHnRTQOZ o2ZpCYpncNU8XyRRIqx4R79Q7Xgzkvxp11nxeCIZy199OCByZp/lWuyZt99dUokUa/QG 9Yhe2P/lDXU1LicRfWu6w1B+yFoWwsnS92fza3U+OSUCa65N78FG9e0EgNtBRAq7srtx UfJa731O5NOxf1HssONrT+JlmBv2vfw6AdpYwUQKQkT16NdQ0zibj4QI/T2UPHvaX7Fh p8rvID9KEZ34RzlubCQfGMyz5dFXwZdTbWW0s4/aoQV8nDcm5oz+3dlsuusOOxL3Vu/k tG/Q== X-Received: by 10.42.91.75 with SMTP id o11mr4964039icm.89.1415223098104; Wed, 05 Nov 2014 13:31:38 -0800 (PST) MIME-Version: 1.0 Sender: yohgaki@gmail.com Received: by 10.107.132.216 with HTTP; Wed, 5 Nov 2014 13:30:57 -0800 (PST) In-Reply-To: References: Date: Thu, 6 Nov 2014 06:30:57 +0900 X-Google-Sender-Auth: WHQe2s3H_X2qmXre6JZF016z_as Message-ID: To: Damian Wadley Cc: PHP internals Content-Type: multipart/alternative; boundary=90e6ba613b300a62680507234edd Subject: Re: [PHP-DEV] Lazy writing in the session, session-lock-ini, and bug #68331 From: yohgaki@ohgaki.net (Yasuo Ohgaki) --90e6ba613b300a62680507234edd Content-Type: text/plain; charset=UTF-8 Hi all, On Wed, Nov 5, 2014 at 10:54 AM, Damian Wadley wrote: > Apparently this caused > problems for some people as they made 68331 a few days ago. > Just a quick note for this. The user would like to access session data(session handler) regardless of data modification. I suppose it could be solved if session has user space "update" handler as I suggested originally. Alternatively, session_write_close()/session_commit() may be changed, so that it is called unconditionally during shutdown. I have to read the code to be sure if this is possible. BTW, anyone know the reason why the user need to call session_write_close()/session_commit() unconditionally? Accounting, perhaps? Regards, -- Yasuo Ohgaki yohgaki@ohgaki.net --90e6ba613b300a62680507234edd--