history.go(-1) and Internet Explorer

A

Alain

I am currently working on an ASP.net application.

In some situation when the Back button is pressed from the browser toolbar,
Internet explorer displays me a cached page from the history. In other situation
the previous page is regenerated (the page_load event is called).

It is the same page but in a different sequence. In Firefox it works fine!!

Alai
 
A

Alain

Hello Bruno,

I should suspect that when I hit the back button, the cached version is displayed
(if nothing is set to specifically reload the page).

I will describe my problem in more detail:

I have a search results page with a state. When I select the detail and hit
the back button, the results are kept and everything is OK. But on the detail
page is also a link that opens another popup detail window. If I hit the
back button after opening the popup window, the search page is reloaded and
executes the Page_load event. This is not suspected behaviour because firefox
does this correctly.

In all cases I need the page from the cache.

Alain
 
M

Mike

You may have caching turned off in IE. If that is the case, then IE
will not use a cached version, even if the site says the page can be
cached.

1) use IE menu "Tools" -> "Internet Options"
2) in the "temporary internet files" section, select the "Settings"
button
3) set the "Check for newer version of stored pages:" option
appropriately.

Michael Lang
XQuiSoft LLC
http://www.xquisoft.com/
 
A

Alain

Hello Mike,

This does not explain why in the first case the page is loaded from the cache
and in the second page not. Does it have anything to do with the popup being
openend??
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top