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

fyi: Tab-level cookies for the browser

From: =JeffH <Jeff.Hodges@KingsMountain.com>
Date: Wed, 29 Jul 2009 04:31:19 -0700
Message-ID: <4A703307.1000404@KingsMountain.com>
To: HTTP Working Group <ietf-http-wg@w3.org>
[ fwd'g in case http-state@ is an effectively dead list ]

Subject: [http-state] Tab-level cookies for the browser
From: Micah Lemonik <micah@google.com>
Date: Tue, 28 Jul 2009 16:41:26 -0400 (13:41 PDT)
To: http-state@ietf.org
Cc: Ronald Ho <ronaldho@google.com>, "Chandra, Rishi" <rchandra@google.com>,
	Jonathan Sergent <sergent@google.com>


We would like to propose the browser add tab-level cookies that will
override the global process-level cookie in a given tab. That is if a tab
override cookie is set on a particular tab, that cookie will be used in
place of the global cookie. Tab level cookies would last the lifetime of a
tab and would propagate to child tabs.
The use case we're trying to accommodate is to be logged into different
google accounts in different tabs. sessionStorage gets us part of the way
there in terms of enabling a per-tab resource that propagates to child tabs,
but sessionStorage doesn't automatically send data to the server on any
request the way cookies do. Essentially we're looking for a solution that 1.
works with cookies for compatibility with existing infrastructure and 2.
isn't limited to XMLHttpRequest usage where we have the ability to set
custom headers.

I would love to hear feedback from this list on how this might work in
browsers and/or alternative solutions.

Thank you,

Micah Lemonik
Staff Software Engineer
Google Inc.
Received on Wednesday, 29 July 2009 11:31:58 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 11:10:50 UTC