Open GoogleCodeExporter opened 8 years ago
Hi
Could you tell what type of page you were using for the tests - JSP, ASP, PHP,
HTML?
The Refresh issue reported works fine when the page is a HTML. However, the
history
cache gets cleared and reset if it is a JSP
Original comment by lans...@gmail.com
on 13 Jan 2008 at 2:04
I noticed the same problem under IE7. I'm using working ASP.NET. It seems that
"!historyStorage.hasKey(this.PAGELOADEDSTRING)" fails on a page refresh (which
it
shouldn't).
Any idea how I can preserve the history cache?
Original comment by oldgoo...@nolten.nu
on 28 Jan 2008 at 12:11
Server sends last-modified-date for static files like HTML and IE sends a
if-modified-since request when you click refresh button. Server responds with
not-modified and IE (correctly) assumes that nothing really changed.
window.onload()
fires but "/*Else if this is a fake onload event*/" part gets executed and
history
remains intact.
In case of JSP, server cannot send a meaningful last-modified-date (LMD), so in
case
of refresh, IE sends request to server without if-modified-since header and
server
responds with 200.
IE re-initializes all variables and library does not find this.PAGELOADEDSTRING
in
historyStorage and thus history is lost.
Same behavior can be seen when you press shift-refresh(F5) for HTML file, which
makes IE to reload the page regardless of its last-modified-date.
Developers of this library can validate this and please suggest a solution.
Original comment by samee...@gmail.com
on 5 Jul 2008 at 6:01
Original issue reported on code.google.com by
levi.nun...@gmail.com
on 12 Dec 2007 at 5:22