Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:92155 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 86150 invoked from network); 8 Apr 2016 04:47:22 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Apr 2016 04:47:22 -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.213.67 as permitted sender) X-PHP-List-Original-Sender: yohgaki@gmail.com X-Host-Fingerprint: 209.85.213.67 mail-vk0-f67.google.com Received: from [209.85.213.67] ([209.85.213.67:35662] helo=mail-vk0-f67.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 66/B9-48788-8D737075 for ; Fri, 08 Apr 2016 00:47:21 -0400 Received: by mail-vk0-f67.google.com with SMTP id e185so14773724vkb.2 for ; Thu, 07 Apr 2016 21:47:20 -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; bh=odjIVBI/ae8m2HBu1L0ss6H5NbLCOuaAUDOs1Iz3/zc=; b=VwrVEelFmGDCpMSN7fezwB1bq8VWAtdD3R7uNyLVhUxVCi15bMDlAfxSTMamWGJ76X K/e80a84XAlmjR+6RMCrrIC4rGPLv3zCLMIXkngjl73+pvdiROPrYX9ejrVNUdIYAH5L Vjo/KiRMUf6h8u9AJznyufn/XVj529aLG3WoS8iRRt/dMEWA9qOwAKJy/hwIhrzKNdFN kOS7nq5Ew9wFznGuDscDla6BtikyWzXYamBgcI875TqF9hgbUu0biEB3E0qr+f/ZAjYb +RWUG1gIogY/NeZevtS/sY0Suam/zs5LrVo93gZfVj4iPO7qHVjaIcc1ugFyAKmDAOEF 4B6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=odjIVBI/ae8m2HBu1L0ss6H5NbLCOuaAUDOs1Iz3/zc=; b=S539QcC8/MoEDb02vsKK+WM3Jlb5sdpa83OnML3Esv0TvZwrIHgtRIQmZBRjZ80Zil c+EAKZ7qPuh6WnypQdr76As95H0c8M3vEqude0PebABHfVQ6+XOBPF49DHliFlGYBZI8 QuXVhUXIp+hIrMObdhgjhY+X4p/o/i22Tk2zCU13YeKOlddYTFSN4zQWdaNq8PdhgUg5 /im5f39ipvntk4DmB27jPfs6qzIibADUkRiF/450kJDyDNtP7nAapbvoyxw+/AcSqae/ 8Mgtf5msDrvmNik31F+xg5BDTt5n8M3ALnzZ8ViHq/hI4YkeCl2O7KyqxUUJf6G4DyKL 3dEA== X-Gm-Message-State: AD7BkJJH6vQKBXE6y3sZ5VhU1EpuS9dyFjCM1WKuOe7bGYdCTGNO0V59wCK0/YoYcVUmB83zlK9dznmNvGXSlg== X-Received: by 10.31.146.5 with SMTP id u5mr2676805vkd.19.1460090838087; Thu, 07 Apr 2016 21:47:18 -0700 (PDT) MIME-Version: 1.0 Sender: yohgaki@gmail.com Received: by 10.159.40.7 with HTTP; Thu, 7 Apr 2016 21:46:38 -0700 (PDT) In-Reply-To: <570691E3.2080601@gmail.com> References: <570691E3.2080601@gmail.com> Date: Fri, 8 Apr 2016 13:46:38 +0900 X-Google-Sender-Auth: ZPA3PzqZd8bPDGtDPOWxUkL9tSo Message-ID: To: Stanislav Malyshev Cc: "internals@lists.php.net" Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] [RFC][Discussion] Add session_create_id() From: yohgaki@ohgaki.net (Yasuo Ohgaki) Hi Stas, On Fri, Apr 8, 2016 at 1:59 AM, Stanislav Malyshev wrote: >> 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. Thank you for your comment. Added more description, https://wiki.php.net/rfc/session-create-id If you feel missing something. Please let me know. Regards, -- Yasuo Ohgaki yohgaki@ohgaki.net