Talk:Session Restore: Difference between revisions

DOM restore vs. URL restore
(DOM restore vs. URL restore)
Line 26: Line 26:
Joe
Joe
--[[User:Sllewbj|Sllewbj]] 05:27, 13 Feb 2006 (PST)
--[[User:Sllewbj|Sllewbj]] 05:27, 13 Feb 2006 (PST)
== DOM restore vs. URL restore ==
What if we serialized and restored the current DOM (including event handlers and such) for each tab, instead of storing the URLs?  That would solve all of the problems with reloading of non-idempotent GETs, as well as POST cases, and properly restore the state of apps like gmail.  (If we don't do this, then we need to be very careful about restoring form state against a possibly-different form when we restore the session and reload the page.  There have been attacks related to changing an input from type=hidden to type=file on reload which I think we would prefer to not revisit.)
Confirmed users
455

edits