Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:92133 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 27353 invoked from network); 7 Apr 2016 16:59:24 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Apr 2016 16:59:24 -0000 Authentication-Results: pb1.pair.com header.from=smalyshev@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=smalyshev@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.220.51 as permitted sender) X-PHP-List-Original-Sender: smalyshev@gmail.com X-Host-Fingerprint: 209.85.220.51 mail-pa0-f51.google.com Received: from [209.85.220.51] ([209.85.220.51:35044] helo=mail-pa0-f51.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 1F/FF-48788-AE196075 for ; Thu, 07 Apr 2016 12:59:23 -0400 Received: by mail-pa0-f51.google.com with SMTP id td3so58166723pab.2 for ; Thu, 07 Apr 2016 09:59:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=MnCaCyMaouW+t6u97DPUimSnWHuAh0OxmHge2+2rRBI=; b=tmDv6/w+hIP5QnvVD0BsbDyfYmlUPre5O7GScfQpF2HMmnrvu5GWzRUIZN5BEtdA/B ntvNq11aTmsoSZMslZXMaQF/yB/+wO6wPYx1lA/ixShn4fLAkxYYh+48cPBYqJPeHpzy bBVipZdlphG7mbWyGr5fJOD2S5kjwHx84i1ff054cwXtyLYwMr3EJMRuNoM3bNkqn1i3 aCmQxplYlbn2yL3G92/eBiqzSjUldC8lQGnqxCYEa7bGzzwSPPTun0jgxVAFjdgXl+nM Cq/gNTUejMRka9z0eM3L83CGZYzOzSnHPi6u+dyIoIMb6vZbupi3SpsC4ATyWs19gl1Y 6hXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=MnCaCyMaouW+t6u97DPUimSnWHuAh0OxmHge2+2rRBI=; b=hSkX55HGhSfJ7fqKQPTHnckxfNa7Mz4qq5neK8JGQfAOTrMrE9NfzNRJLPnzJtzCNJ dkWFYDVxnrwCNemYA23bXVqWyJY7yi5qERStq5Q+5GdM98JTJ4IffMlqR4xfdCya3ua2 GWQjJny9+iv/4jLsfNc5W9n/lMZpECfOcNZ5Sr6Il38cKEMswgJhJ04J5KRaGO/TFBdw x2nzwAs2E+XD+SuZeZl5IJM5ZeQCvL0o1sJQ02KOa/konqKJBVZvABMFjw3UPmkMP5pU JU1ouy0+qrDLxQW01pB4KdkRGScGqwRU6yw5HfLhqiQEJdMPQXLXP49ARiVvrKLpfojR P6fQ== X-Gm-Message-State: AD7BkJIGlm00qq4Nhr8kq1Uo/9VrtR7pqdFimp+IzcB+VsQMkwtwD5kZUBnhOVBMoSSRcw== X-Received: by 10.67.4.69 with SMTP id cc5mr6058936pad.11.1460048359906; Thu, 07 Apr 2016 09:59:19 -0700 (PDT) Received: from Stas-Air.local (76-220-46-95.lightspeed.sntcca.sbcglobal.net. [76.220.46.95]) by smtp.gmail.com with ESMTPSA id 85sm13426339pfl.18.2016.04.07.09.59.17 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 07 Apr 2016 09:59:18 -0700 (PDT) To: Yasuo Ohgaki , "internals@lists.php.net" References: Message-ID: <570691E3.2080601@gmail.com> Date: Thu, 7 Apr 2016 09:59:15 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:38.0) Gecko/20100101 Thunderbird/38.7.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [RFC][Discussion] Add session_create_id() From: smalyshev@gmail.com (Stanislav Malyshev) Hi! > Session ID can be non HEX strings. session_create_id() makes custom > session ID creation easier. > https://wiki.php.net/rfc/session-create-id > > Please note that the implementation was in the session.c years ago. > The patch enables and add test for it. I like the idea, but I would add a bit more details - where the ID comes from? Can I control it, and if so, how? Is uniqueness ensured and if not, how one is recommended to deal with it? Some code examples would help too. Some of it may be obvious to people who have been discussing session stuff for years now, but the RFC should be accessible to everybody, not just those participating is specific discussion. Ideally, one should be able to understand the RFC by knowing only what the PHP manual says and reading the RFC text. Thanks, -- Stas Malyshev smalyshev@gmail.com