Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:71766 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 15895 invoked from network); 30 Jan 2014 01:09:12 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Jan 2014 01:09:12 -0000 Authentication-Results: pb1.pair.com header.from=smalyshev@sugarcrm.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=smalyshev@sugarcrm.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain sugarcrm.com designates 67.192.241.193 as permitted sender) X-PHP-List-Original-Sender: smalyshev@sugarcrm.com X-Host-Fingerprint: 67.192.241.193 smtp193.dfw.emailsrvr.com Linux 2.6 Received: from [67.192.241.193] ([67.192.241.193:48415] helo=smtp193.dfw.emailsrvr.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A6/2B-52228-536A9E25 for ; Wed, 29 Jan 2014 20:09:10 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp19.relay.dfw1a.emailsrvr.com (SMTP Server) with ESMTP id D83603C8316; Wed, 29 Jan 2014 20:09:06 -0500 (EST) X-Virus-Scanned: OK Received: by smtp19.relay.dfw1a.emailsrvr.com (Authenticated sender: smalyshev-AT-sugarcrm.com) with ESMTPSA id 879063C8310; Wed, 29 Jan 2014 20:09:06 -0500 (EST) Message-ID: <52E9A631.5050808@sugarcrm.com> Date: Wed, 29 Jan 2014 17:09:05 -0800 Organization: SugarCRM User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Yasuo Ohgaki , "internals@lists.php.net" References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [VOTE] Introduce session.lock, session.lazy_write and session.lazy_destory From: smalyshev@sugarcrm.com (Stas Malyshev) Hi! > There are 6 vote options now. It would be too much. > Does anyone mind if I make the RFC a single vote? > Or should I separate Proposal 2 (minimize_lock)? 6 options seems too much. 0 shouln't even be a vote - if people want specific options, then ipso facto they want them introduced, and parameter is a way to do it, if none is accepted - there's no reason to introduce the parameter. I would rather make it part of the whole proposal and propose both INI value and session_start options (with the latter overriding the former). Proposal 5 seems to have nothing to do with the rest. So it probably needs to be split out. I'd just leave it as two proposals (this is my personal preference): 1. Options & read_only + lazy_write (these ones seem to be least controversial ones and don't seem to have any negative implications) 2. lazy_destroy 3. minimize_lock if you really want it though I still think it is dangerous and is not needed if read_only and lazy-write exist and if you still need it you're doing sessions wrong. But if you really think there's a case then let's put it as separate one. So we'd have 2 or 3 options, which I think is the max for vote to be manageable. Some more things: - session_unlock - I don't see how it's different from session_abort. What's the need for it? - session_module_feature - what is the use case for it? I'm not sure I understand why anybody would use it. Especially if outputs would be non-machine-friendly as "Partially Supported" - what would you do with that? What Partially means here? -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227