Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:73458 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 39541 invoked from network); 28 Mar 2014 07:07:56 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Mar 2014 07:07:56 -0000 Authentication-Results: pb1.pair.com header.from=yohgaki@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=yohgaki@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.215.50 as permitted sender) X-PHP-List-Original-Sender: yohgaki@gmail.com X-Host-Fingerprint: 209.85.215.50 mail-la0-f50.google.com Received: from [209.85.215.50] ([209.85.215.50:53313] helo=mail-la0-f50.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 07/01-31219-ACF15335 for ; Fri, 28 Mar 2014 02:07:56 -0500 Received: by mail-la0-f50.google.com with SMTP id y1so3337526lam.23 for ; Fri, 28 Mar 2014 00:07:51 -0700 (PDT) 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=Gsjnhfi4B6pAa+t+EjZxpNQn3oCkM4mQs5TGfob3jw8=; b=t/F/kyAowM0GjBPFl65BuutBVOStz0ESDxjPY+whB1q5XEHdUNNTquo+q8Crbqflvb 3Jq4ujmzHvxieUqrp6G5YItAMdqsJi6Ox38lgRm1Vz8hwTeG/Au+xMcs48eNELIuHpNS ryy1kf4PwU7vuKkAtXFhUV/5YFT5xR8nDYHp0tjlbVAInGraI9ra5DVKRrDli5pcQQaN dAhi8vsQu7Xncnk5ZA/tzyu4GHGapu/cx7NwRirVuuNDHScEWx5crXuFSxeHRi1i/EQp 2aV6PZ0+p0rQNnIUU2G3ukmutu/QlnX0ajBWV7eCFZUG22oH/aV7uuQJ4zCCaCmLUP1B xNKQ== X-Received: by 10.152.120.168 with SMTP id ld8mr4502293lab.12.1395990471500; Fri, 28 Mar 2014 00:07:51 -0700 (PDT) MIME-Version: 1.0 Sender: yohgaki@gmail.com Received: by 10.112.205.73 with HTTP; Fri, 28 Mar 2014 00:07:11 -0700 (PDT) In-Reply-To: References: <010e01cf4788$05f3c5a0$11db50e0$@devtemple.com> <01c801cf47c0$59acbf20$0d063d60$@devtemple.com> Date: Fri, 28 Mar 2014 16:07:11 +0900 X-Google-Sender-Auth: _VBERrJtismf2qqlyDwok3jho44 Message-ID: To: Andrey Andreev Cc: Julien Pauli , Bill Salak , "internals@lists.php.net" Content-Type: multipart/alternative; boundary=089e012281a429e8a704f5a55c4d Subject: Re: [PHP-DEV] [RFC] session_start(), read_only, lazy_write; Take 2 From: yohgaki@ohgaki.net (Yasuo Ohgaki) --089e012281a429e8a704f5a55c4d Content-Type: text/plain; charset=UTF-8 Hi Andrey, On Wed, Mar 26, 2014 at 8:15 PM, Andrey Andreev wrote: > Btw, another argument in merging updateTimestamp() into write() is > that userland implementations of it up until now have only been > possible by altering write(), so at least some users should be more > familiar with that approach. > Component only does its jobs with good implementation. Session module consists of session manager, session save handler and session serializer. Session manager should manage how it works. Session save handler should save/retrieve session data only. Session serializer should serialize/unserialize data only. It breaks this design with your suggestion. So letting save handler do the manager's job is not good. IMO. Regards, -- Yasuo Ohgaki yohgaki@ohgaki.net --089e012281a429e8a704f5a55c4d--