Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:73133 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 2895 invoked from network); 13 Mar 2014 22:19:34 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Mar 2014 22:19:34 -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.217.177 as permitted sender) X-PHP-List-Original-Sender: yohgaki@gmail.com X-Host-Fingerprint: 209.85.217.177 mail-lb0-f177.google.com Received: from [209.85.217.177] ([209.85.217.177:62555] helo=mail-lb0-f177.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D9/4A-47923-3FE22235 for ; Thu, 13 Mar 2014 17:19:32 -0500 Received: by mail-lb0-f177.google.com with SMTP id z11so1132566lbi.8 for ; Thu, 13 Mar 2014 15:19:29 -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=wujQfKhhUpinLEQkGildqxPmrUtakhyWIGLVwf1hyJY=; b=poRwN/0Cd1e8YOblk8z20X2iTe7UnJRKHrRN9XB4+Tq7s2/ImCL/etktUMX3RXTGtR MmTI85SR1dxXwKlA8AOkjnjY785GzfKJ1/8AjwjXyJO4GMfAyD9riA6T3hL5J0Wg1uVd 5J8W7jcwoUpMk2aCxSiABP6eKYlTtejOgC/Z74yJmPCW0tCRYkCY62Y4ljdXDe6ys57U LpamVFvr/bbYqMDHJsHR6Nas7RQ6oDSafOWCMR7vGrIYSIFQDiMCiwpcYT1Xx/W24F+J OCosmKRkLtgRrSmBufMu8ZjFsNBHPfbcwU7eUIqG/bsIqKOnVqeb/meVXJv97a3W4baQ Wl0w== X-Received: by 10.112.147.67 with SMTP id ti3mr2647560lbb.14.1394749169263; Thu, 13 Mar 2014 15:19:29 -0700 (PDT) MIME-Version: 1.0 Sender: yohgaki@gmail.com Received: by 10.112.205.73 with HTTP; Thu, 13 Mar 2014 15:18:48 -0700 (PDT) In-Reply-To: References: Date: Fri, 14 Mar 2014 07:18:48 +0900 X-Google-Sender-Auth: XRJSnOTBZqTD4_w87HwDHQI9jvs Message-ID: To: Andrey Andreev Cc: Pierre Joye , Patrick Schaaf , internals Content-Type: multipart/alternative; boundary=047d7b3441c4c8ea9104f4845852 Subject: Re: [PHP-DEV] Re: Revert session_serializer_name(), session_gc() From: yohgaki@ohgaki.net (Yasuo Ohgaki) --047d7b3441c4c8ea9104f4845852 Content-Type: text/plain; charset=UTF-8 Hi Andrey, On Fri, Mar 14, 2014 at 6:01 AM, Andrey Andreev wrote: > All I'm saying is, this whole thing wasn't handled properly and/or > with the required attention. > It's nobody's fault, but it ended up broken and I want to fix it > (possibly with the help of somebody to write the patch, because I'm > not a C programmer). > I think shared lock is useful. It requires additional work to change save handler interface and save handler code. It's a distinct feature from read_only. You can get status via session_status() if you need to know during execution. i.e. If session is started with read_only, you'll get PHP_SESSION_NONE status. I suppose read_only is good enough name for the feature. I appreciate better name for it, if there is. Although I would not like to propose/implement the RFC now, but I may implement it if RFC passes. Regards, -- Yasuo Ohgaki yohgaki@ohgaki.net --047d7b3441c4c8ea9104f4845852--