Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Window ID in request header

104 views
Skip to first unread message

Sebastian

unread,
Jun 9, 2009, 9:48:24 AM6/9/09
to
Hello,

I came up with the idea of an window ID passed as request header from
browsers. Ben Galbraith, with whom I discussed this on JavaOne, sent
me to this usenet list.

The problem is that cookies including session cookies are shared
across all browser windows. This prevents web application developer to
store things in a session for many use cases as one window would
overwrite the values of other windows. This could easily be solved
with a window id passed as request header from the browser. A window
ID is just a unique random number.

In HTML 5 this problem is already addressed for the client side with a
sessionStorage. I would like to have this solved for the server side
as well.

I contacted sofar developer of IE, sent a mail to the mailing list of
webkit to reach Chrome and Safari and filed the following bug to
Mozilla.
https://bugzilla.mozilla.org/show_bug.cgi?id=495395

I tried to explain the problem in more details in my blog. In addition
I
wrote a sample application which shows what we could do with a window
id.

http://www.laliluna.de/blog/2009/05/19/browser_feature_request.html
http://www.laliluna.de/blog/2009/05/28/browser_feature_request_sample_application.html

I would appreciate your feedback.

Best Regards / Viele Grüße

Sebastian Hennebrueder

-----
http://www.laliluna.de

Dion Almaer

unread,
Jun 9, 2009, 12:34:31 PM6/9/09
to Sebastian, dev-pl...@lists.mozilla.org
Just a short FYI.... libraries have stepped up here to give devs this
functionality.

For example, Dojo sends a client id header:
http://www.sitepen.com/blog/2009/02/27/deterministic-clientserver-interaction/

Cheers,

Dion

> _______________________________________________
> dev-platform mailing list
> dev-pl...@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-platform
>

Sebastian

unread,
Jun 9, 2009, 1:29:48 PM6/9/09
to
Hello Dion,

thank you for the feedback. Client side javascript allows to work
around this problem, this is correct. My sample application uses
Javascript and HTML 5 sessionStorage to demonstrate the advantage of a
window id.
But it stays a workaround and has trade offs. The cleanest approach
would be a window id sent by the browser.

Best Regards

Sebastian

On 9 Jun., 18:34, Dion Almaer <d...@almaer.com> wrote:
> Just a short FYI.... libraries have stepped up here to give devs this
> functionality.
>

> For example, Dojo sends a client id header:http://www.sitepen.com/blog/2009/02/27/deterministic-clientserver-int...

> >http://www.laliluna.de/blog/2009/05/28/browser_feature_request_sample...


>
> > I would appreciate your feedback.
>
> > Best Regards / Viele Grüße
>
> > Sebastian Hennebrueder
>
> > -----
> >http://www.laliluna.de
> > _______________________________________________
> > dev-platform mailing list

> > dev-platf...@lists.mozilla.org
> >https://lists.mozilla.org/listinfo/dev-platform

0 new messages