W3C home > Mailing lists > Public > ietf-http-wg@w3.org > July to September 2013

Re: HTTP router point-of-view concerns

From: Willy Tarreau <w@1wt.eu>
Date: Sun, 14 Jul 2013 07:48:40 +0200
To: Stephen Farrell <stephen.farrell@cs.tcd.ie>
Cc: Yoav Nir <ynir@checkpoint.com>, Poul-Henning Kamp <phk@phk.freebsd.dk>, Mark Nottingham <mnot@mnot.net>, Sam Pullara <spullara@gmail.com>, HTTP Working Group <ietf-http-wg@w3.org>
Message-ID: <20130714054840.GR32054@1wt.eu>
On Sat, Jul 13, 2013 at 11:40:19PM +0100, Stephen Farrell wrote:
> Its a bit of a moot point I guess but...
> On 07/13/2013 09:24 PM, Yoav Nir wrote:
> > allow it to persist for as long as you want
> I've always been amused that HTTP needs to be able to
> manage state for decades. It'd be truly impressive if
> a browser really managed state that lasts far longer
> than the h/w on either side and probably also longer
> than any piece of n/w kit in between.
> If HTTP/2.0 were to impose an upper bound on cookie
> lifetime of say, a session, that'd be good IMO. But I
> guess that probably would be out of charter, even if
> it'd be a good thing, as it'd break stuff. OTOH, it'd
> arguably be a good thing to leave such stuff behind when
> moving to HTTP/2.0.

I think that *session* cookies are needed, but *permanent* cookies
are mostly used by ads and user tracking, even if a few sites use
them to store user preferences.

One elegant solution would probably be to systematically have UAs
ask end users whenever a cookie is sent to be stored for more than
(say) 24h. Site designers will take care of this because they don't
want to make their site emit warnings that upset end users.

And if the cookie is used to store preferences, it is normal that
the user gives the permission to do that.

Also, we should probably recommend that UAs automatically expire
session cookies after some time (maybe the same delay limit that
is used before emitting a warning). I've dealt with issues where
some smartphone browsers never close and never delete session
cookies, causing the same browser to always go to the same server
past the load balancer. In the end, I had the LB detect those
cookies to fix them!

Received on Sunday, 14 July 2013 05:49:19 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:14 UTC