Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:73137 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 10489 invoked from network); 13 Mar 2014 23:16:32 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Mar 2014 23:16:32 -0000 Authentication-Results: pb1.pair.com header.from=narf@devilix.net; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=narf@devilix.net; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain devilix.net designates 209.85.213.43 as permitted sender) X-PHP-List-Original-Sender: narf@devilix.net X-Host-Fingerprint: 209.85.213.43 mail-yh0-f43.google.com Received: from [209.85.213.43] ([209.85.213.43:62354] helo=mail-yh0-f43.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B2/DB-47923-F4C32235 for ; Thu, 13 Mar 2014 18:16:32 -0500 Received: by mail-yh0-f43.google.com with SMTP id b6so1814727yha.30 for ; Thu, 13 Mar 2014 16:16:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=devilix.net; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=GVlWqADR32lLW4Yh7CrGupPHonRiCXpcG27EEQtvJ/c=; b=DtQLr6r6ScXqiQj4sbb64X6KuULzWRzyRmSXXD3PGHSe6Tasw328W/tW5fIW8FQt3h 8Np7tO+tMPx2rKojJabPCPStpIqNJlbjoafctHR7ZHk0OemqGlFS6Cmh7T1rAY7QLRwu /nFmPRxrww81NtLGUZtf1rBtU22Xc1UroC424= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=GVlWqADR32lLW4Yh7CrGupPHonRiCXpcG27EEQtvJ/c=; b=QjT1tiEbrG/PndrWS35SQcztZ8VNw+SyABEadplCE/HNvrHUwRJcRB6+o2w9pmkKDP icw72O0j4kr+Xgsvd7STfqAufxgv+tobJ4HiAK4wbo4F9ae/WPbJ8DObuGps8VeitTyo OPUCz4SpeJbk4vXjW0gLE18G/tggPNVf45EHfwMnTljV0q56DDVPjmlVv+E2vU46pXDC umEvV75pASsg3HIes5FNjem+AwsEtu97A6QIIs6i1/du4I87i5Wv/hNU048S1oeGMzJK xOcoI9YWVpfi9VNsXPWqyaXVBkxx8zyCAfn5D/NRz+qbEOtCj7bjjceL35hz5ZBjUR68 S97w== X-Gm-Message-State: ALoCoQlWATD2wrTr4PnadoMIehlI7Vqj9GQAFf/NXlZ5mieQlHL/sSrfbsuHN8KR+y+vm7enx8A7 MIME-Version: 1.0 X-Received: by 10.236.75.74 with SMTP id y50mr6143171yhd.27.1394752588754; Thu, 13 Mar 2014 16:16:28 -0700 (PDT) Received: by 10.170.188.139 with HTTP; Thu, 13 Mar 2014 16:16:28 -0700 (PDT) In-Reply-To: References: Date: Fri, 14 Mar 2014 01:16:28 +0200 Message-ID: To: Yasuo Ohgaki Cc: Pierre Joye , Patrick Schaaf , internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] Re: Revert session_serializer_name(), session_gc() From: narf@devilix.net (Andrey Andreev) Hi, > 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. This is a bug. A read-only session is not a non-existing session. I'm thinking more of something like a SessionHandler::$isReadOnly property. > I suppose read_only is good enough name for the feature. I appreciate better > name for it, if there is. It is a perfect name, no need to change it. > > Although I would not like to propose/implement the RFC now, but I may > implement it if RFC passes. Great, I'll count on that. :)