Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:92166 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 15591 invoked from network); 8 Apr 2016 09:24:32 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Apr 2016 09:24:32 -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.214.169 as permitted sender) X-PHP-List-Original-Sender: narf@devilix.net X-Host-Fingerprint: 209.85.214.169 mail-ob0-f169.google.com Received: from [209.85.214.169] ([209.85.214.169:32995] helo=mail-ob0-f169.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 19/64-25122-FC877075 for ; Fri, 08 Apr 2016 05:24:32 -0400 Received: by mail-ob0-f169.google.com with SMTP id tz8so63841655obc.0 for ; Fri, 08 Apr 2016 02:24:31 -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; bh=hlPiP9hFKaSSJ9JcHeDirg1ID7gQfXtguqyQMf5kqJo=; b=UFUoEc0DdUj9BgTnDxM0CkeP+UufZog9VWKK1cUWnT5IaKiz7aM5Do3c1JxB9hlI/y g1CwumNc4u/znEVskSOWhr7U4fRHqsczfhX38zRM/iD9jcI8Y4rPUnTEAsRaU2qei43s 6vVzo5/qVZ7ggIRRJ49FtNlMeFQl829YsYdbI= 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; bh=hlPiP9hFKaSSJ9JcHeDirg1ID7gQfXtguqyQMf5kqJo=; b=CUTUoWcYRCuKZK8wie2YxSXDWZ/dy4URK/Ui0cNyKJZ5mvDYkJFwGtDShCe6xP2KTk tTvpdw8QYBBu/Ehxn9TN9KJCxSQ2AdiMQr4AMyjCDzJjHzwz57LRYkFt2veWgD03lZ15 uO/5oO2xBrN6kthMoeSY4qLLuWo3Ici2KWt72s3HqrV7wdEfKcNiTHVEBBArhgqbV7Pq mNFyJhzPG2N081CSa/Xv8KiO0xrDmNUTqzQVgSmO+0sSzzq6hDjgXPybfTuEvXQYiGFE xASrz/UYR+LwaSDnmVzMXseviO1RI6ESnn2zpGQnlNWxegOqFAlBblIbNJHNbB+MDxPt uUhw== X-Gm-Message-State: AD7BkJJRlyqSDd+cg6alFzIsrSjiXwWZVB3fEUUKcfTSGoQf3eICTyoqDY95HJ7d7y0xvG0BdQdr5/ibgxrgHg== MIME-Version: 1.0 X-Received: by 10.182.84.232 with SMTP id c8mr3768740obz.44.1460107469281; Fri, 08 Apr 2016 02:24:29 -0700 (PDT) Received: by 10.202.175.87 with HTTP; Fri, 8 Apr 2016 02:24:29 -0700 (PDT) In-Reply-To: References: Date: Fri, 8 Apr 2016 12:24:29 +0300 Message-ID: To: Yasuo Ohgaki Cc: "internals@lists.php.net" Content-Type: multipart/alternative; boundary=089e0111c10c0a7627052ff5c39a Subject: Re: [PHP-DEV] [RFC][Discussion] Add session_gc() From: narf@devilix.net (Andrey Andreev) --089e0111c10c0a7627052ff5c39a Content-Type: text/plain; charset=UTF-8 Hi, On Fri, Apr 8, 2016 at 11:38 AM, Yasuo Ohgaki wrote: > Hi Andrey, > > On Fri, Apr 8, 2016 at 5:02 PM, Andrey Andreev wrote: > > On Fri, Apr 8, 2016 at 6:46 AM, Yasuo Ohgaki wrote: > >> > >> ,,, > >> > >> > > >> > Speaking of the documentation part - it's not hard to imagine A LOT of > >> > people doing this: > >> > > >> > session_start(); > >> > session_gc(); > >> > > >> > That's not a small problem. > >> > >> Shooting their own foot is not our problem, but leaving obsolete and > >> possibly active session is ours. > >> > > > > If you want to explicitly document something as a best practice, it IS > your > > problem when users shoot their feet with it > > Lack of proper API for required task is our problem. Misuse is not ours. > IMHO. > I understand your POV, but you can't advertise something as a best practice and not warn about mistakes that are easy to make - it would be indecent at the very least. Cheers, Andrey. --089e0111c10c0a7627052ff5c39a--