Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:69348 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 12122 invoked from network); 26 Sep 2013 10:32:36 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Sep 2013 10:32:36 -0000 Authentication-Results: pb1.pair.com header.from=tjerk.meesters@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=tjerk.meesters@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.128.46 as permitted sender) X-PHP-List-Original-Sender: tjerk.meesters@gmail.com X-Host-Fingerprint: 209.85.128.46 mail-qe0-f46.google.com Received: from [209.85.128.46] ([209.85.128.46:49248] helo=mail-qe0-f46.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 50/3C-46303-34D04425 for ; Thu, 26 Sep 2013 06:32:35 -0400 Received: by mail-qe0-f46.google.com with SMTP id x7so628409qeu.33 for ; Thu, 26 Sep 2013 03:32:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=ltazBankMKvGNX1L8YXhqFP/ph6gMYL+LlKCgVUrONQ=; b=tiw8w/Ol71NqVL6rMzMN9D6wBSsi9We2PoagbPpjpsa8f1eHW20lOiP7tezDjmtSXv /A77ffF33CG0Qnksm1H1MCoHkHR9PRtQy2w1xPmbBle9nM894Bt7VWMLX8lGqJPG3NKO gAP+RTVO6YXQtoLsDNsLZPDoq2ZyekpVcIt12eAsRBKh+diuKK/rnygjR0IQ8+KIKD3R Xl2mtdTHvhlmPyQWoR8eeiUVx3KRfL5Rz6h4/u6apGpB6cutIuamQxpxLc/39x9V2dPd veix6D35kYjlYl3TmtAL9zdQtgEPSNTNsfCh0xkF9mzYQmsa0w2skbbWWTlxGyUn6g95 qLuQ== MIME-Version: 1.0 X-Received: by 10.49.47.50 with SMTP id a18mr154065qen.61.1380191552628; Thu, 26 Sep 2013 03:32:32 -0700 (PDT) Received: by 10.49.61.227 with HTTP; Thu, 26 Sep 2013 03:32:32 -0700 (PDT) In-Reply-To: References: Date: Thu, 26 Sep 2013 18:32:32 +0800 Message-ID: To: Leigh Cc: Laruence , PHP Internals , Yasuo Ohgaki Content-Type: multipart/alternative; boundary=047d7b33d790376fa204e746e3a1 Subject: Re: [PHP-DEV] Regenerating session ID automatically when IP address has changed From: tjerk.meesters@gmail.com (Tjerk Meesters) --047d7b33d790376fa204e746e3a1 Content-Type: text/plain; charset=ISO-8859-1 Hi, On Thu, Sep 26, 2013 at 6:19 PM, Leigh wrote: > On Sep 24, 2013 3:43 AM, "Laruence" wrote: > > > > I don't think this is language concerning issue. > > > > it could be done in user script.. > > > > thanks > > I agree entirely with Laurence (and others). This shouldn't be a core > feature. It's not one size fits all. > > There's several scenarios where a users IP changes and you don't want to > drop their session. (That doesn't mean it should simply have an option to > disable it either) > Let's be clear here: this won't happen (in most cases), because the client will simply get a new cookie and the session will keep working; it's like what you would implement if your user level goes from anonymous to logged in and vice versa. > > Many people still have dynamic IP addresses for their home connections, but > the group who would suffer the most would be mobile users. It's pretty > frustrating to use most sites with a phone as it is, without being kicked > off every time you switch between grps or hsdpa or whatever. > Aha! I'm glad that you brought up mobile devices, because for those it's more likely that in certain cases the updated cookie is not received while the server believes that it was; scenario: "I stepped into an elevator and was disconnected when I got out.". This makes it an unattractive option to have enabled by default. -- -- Tjerk --047d7b33d790376fa204e746e3a1--