Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:95057 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 83258 invoked from network); 12 Aug 2016 04:29:00 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Aug 2016 04:29:00 -0000 Authentication-Results: pb1.pair.com smtp.mail=yohgaki@ohgaki.net; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=yohgaki@ohgaki.net; sender-id=pass Received-SPF: pass (pb1.pair.com: domain ohgaki.net designates 180.42.98.130 as permitted sender) X-PHP-List-Original-Sender: yohgaki@ohgaki.net X-Host-Fingerprint: 180.42.98.130 ns1.es-i.jp Received: from [180.42.98.130] ([180.42.98.130:53770] helo=es-i.jp) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id AC/63-56950-8805DA75 for ; Fri, 12 Aug 2016 00:28:58 -0400 Received: (qmail 77236 invoked by uid 89); 12 Aug 2016 04:28:53 -0000 Received: from unknown (HELO mail-qk0-f177.google.com) (yohgaki@ohgaki.net@209.85.220.177) by 0 with ESMTPA; 12 Aug 2016 04:28:53 -0000 Received: by mail-qk0-f177.google.com with SMTP id p186so15626313qkd.1 for ; Thu, 11 Aug 2016 21:28:52 -0700 (PDT) X-Gm-Message-State: AEkoouvG7oTMHPR3fYDMCaVm86KTTFH6nf6feLX28t9PCSSm9uhPmgSAnupga7MVL/pA0tE9AH7c687X5cKBoA== X-Received: by 10.233.232.195 with SMTP id a186mr14560696qkg.18.1470976126731; Thu, 11 Aug 2016 21:28:46 -0700 (PDT) MIME-Version: 1.0 Received: by 10.140.85.242 with HTTP; Thu, 11 Aug 2016 21:28:06 -0700 (PDT) In-Reply-To: References: Date: Fri, 12 Aug 2016 13:28:06 +0900 X-Gmail-Original-Message-ID: Message-ID: To: "internals@lists.php.net" Content-Type: text/plain; charset=UTF-8 Subject: Re: [RFC][VOTE] Add session_create_id() function From: yohgaki@ohgaki.net (Yasuo Ohgaki) Hi all, On Wed, Aug 10, 2016 at 6:14 PM, Yasuo Ohgaki wrote: > This is RFC for adding session_create_id() function. > > Session ID string uses special binary to string conversion. Users > should write lengthy and slow code to have the same session ID string > as session module does. It also validates and makes sure generated > session ID string has no collision. (This cannot be done easily by > user script and 3rd party C written save handlers) > > https://wiki.php.net/rfc/session-create-id > It requires 2/3 majority to pass. > Vote starts: 2016/08/10 - Vote ends: 2016/08/17 23:59:59 UTC I've added discussion section so that new readers do not have to read thread. https://wiki.php.net/rfc/session-create-id#discussions Those who are not feeling session_create_id() function might not be needed, please try to write session ID validation enabled (NOTE: Session ID validation is **mandatory** for session security) user defined session save handler. Then you'll see why. Not many people voted yet, but this function is "missing must have API". Thank you for voting! https://wiki.php.net/rfc/session-create-id Regards, -- Yasuo Ohgaki yohgaki@ohgaki.net