Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:73246 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 77074 invoked from network); 17 Mar 2014 21:56:17 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Mar 2014 21:56:17 -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.47 as permitted sender) X-PHP-List-Original-Sender: narf@devilix.net X-Host-Fingerprint: 209.85.213.47 mail-yh0-f47.google.com Received: from [209.85.213.47] ([209.85.213.47:57465] helo=mail-yh0-f47.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 6A/E2-17561-08F67235 for ; Mon, 17 Mar 2014 16:56:16 -0500 Received: by mail-yh0-f47.google.com with SMTP id 29so6030710yhl.34 for ; Mon, 17 Mar 2014 14:56:14 -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=vdt8Cm20s/ZjqJiAkEZDecIgZzsABFC+pWRsAyF+szI=; b=OdaSonBnwcooC81YkdDBhRoqjdGTgKslVfwd9eR8DVgXS47VVaq8t0QMk6SBZq6GVu GigcXqaXYhEsNZZWWvpiXUP/cpQFA1d6hFrLYXnAnWYaWJf00VHJbsscdb4ezL3H4wLm NrR0yEq32tRc851ZMRjKEDnMMNZbRGlrAkw60= 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=vdt8Cm20s/ZjqJiAkEZDecIgZzsABFC+pWRsAyF+szI=; b=k2aDhSiZJYqy11yS2SL77RI0gXNCn6i95ar7yVv5fNtWa12ksbIt6UlgNPheyLLTik Ln734QADhy+I/dF03iQwrzhnVcoYYVvx4k9SGXiyHoUxmAlPwZY8tvXe7l87t7C8rpwK +VSsII7s+c1v9oCs/DbAiiEoCgFkP4mu/8k0goXhA0Aqn/VzM5WDS6QcbH11c91e+F9F vDeBizQLeq/ngVvn73B1iI6exvD1BzGYWJcyJunXkXDccms3ywQakkvhy5GTF7836boJ ywDFDxGWNJjhjb6gWt1YxprBHWRiT3izBReTbLYELVPRT/vzb3QH5CMWOhLFoL4DM+jd 7Tvg== X-Gm-Message-State: ALoCoQnRcyfQPgy3xmJj9M+E/EZR0voxTAiCHv79pHDXmC3TVeRswzA3PPMIhflzqiysbtIE/Ere MIME-Version: 1.0 X-Received: by 10.236.190.100 with SMTP id d64mr38316964yhn.76.1395093373974; Mon, 17 Mar 2014 14:56:13 -0700 (PDT) Received: by 10.170.188.139 with HTTP; Mon, 17 Mar 2014 14:56:13 -0700 (PDT) In-Reply-To: References: Date: Mon, 17 Mar 2014 23:56:13 +0200 Message-ID: To: Yasuo Ohgaki Cc: "internals@lists.php.net" Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] Session: deprecating create_sid() method and add createSid()? From: narf@devilix.net (Andrey Andreev) Hi, On Mon, Mar 17, 2014 at 11:09 PM, Yasuo Ohgaki wrote: >> > I've added session_create_id(). Therefore, if user start using it, it >> > does >> > not hart much. >> > If users do not need modified session ID, they may call >> > session_create_id() >> > simply. >> >> Again with the "I've added this", that I opposed previously for >> session_serializer_name(), session_gc() ... What's session_create_id() >> useful for? How would you utilize it? > > > You are asking to write RFC for all additions for _new_ release. > > I think session_gc() is must have API. IMHO. > Periodic GC is better than probability based GC even with expire timestamp > (I mean > time stamp for session manager, not save handlers) I'm not asking for RFC about everything new. But at least to my knowledge, this wasn't even discussed - somebody might've suggested an improvement to your idea. You just decide and add something without others evaluating it, while at the same time, everybody else's feature requests are put under cross-fire - this is unfair. Anyway, you can disregard that, as I previously said - Leigh answered all of my questions, including those about session_create_id() (might be better to call it session_generate_id() though). Cheers, Andrey.