W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2005

[whatwg] Some likeness of DOM Session scope

From: Ian Hickson <ian@hixie.ch>
Date: Mon, 18 Jul 2005 00:11:03 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0507180008390.11074@dhalsim.dreamhost.com>
On Thu, 21 Apr 2005, Brad Neuberg wrote:
>
> Something along these lines that would be useful is control over what 
> goes into the history (and what affects the back button) and what 
> _doesn't_.  Alot of times I shoot off RPC type functions using 
> XmlHttpRequest that I _dont_ want in the history, since they wouldnt be 
> appropriate for the back button, and other times I want the back button 
> to be affected.

Ok, I recently added something to the spec that should help with this. 
Namely, the window.history.pushState() method and the onpopstate="" event 
handler.

   http://whatwg.org/specs/web-apps/current-work/#the-session

The spec is a bit terse right now, but it should address what you 
mentioned. I'm sure we'll write more developer-friendly docs in due 
course (like, when it's more stable!).

HTH,
-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Sunday, 17 July 2005 17:11:03 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:41 UTC