473,387 Members | 3,781 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

history.go(-1) and Internet Explorer

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!!

Alain
Apr 12 '06 #1
5 2656
and what do u need?

to display a cahed version or a new version?

--

Bruno Alexandre
(a Portuguese in Denmark)

"Alain" <al***@nospam.com> escreveu na mensagem
news:4e**************************@news.microsoft.c om...
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!!

Alain

Apr 12 '06 #2
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
and what do u need?

to display a cahed version or a new version?

"Alain" <al***@nospam.com> escreveu na mensagem
news:4e**************************@news.microsoft.c om...
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!!

Alain

Apr 12 '06 #3
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/

Apr 12 '06 #4
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??
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/

Apr 12 '06 #5
Is it possible that the page specifies that it is valid for a given
amount of time, and that time has elapsed when the Page_Load is called?
Check the expiration of the page in question.

Use Fiddler to inspect your pages...
http://www.fiddlertool.com/Fiddler/

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

Apr 12 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Edward Mitchell | last post by:
Is there a way that I can repair MS Internet Explorer? I seem to have broken it somewhere. I have been developing a .NET app. Three days ago I saw a message box in a web site that I visit saying...
10
by: milk-jam | last post by:
I'm trying to write a log which save each time internet explorer is opened or closed and all of the url which where visited? Any help is greatly appreciated.
3
by: Raterus | last post by:
Anyone know how I can figure out the figure out the response.redirect trail a browser goes through when I'm using response.redirect on the server. Right now Internet Explorer just automatically...
3
by: Simon | last post by:
Hi, I need to prevent Internet Explorer to save the page in history collection when it is in PostBack. To try do this I have put this code: protected override void OnLoad( EventArgs evt) { if...
2
by: CathieC | last post by:
I have a websote developed using visual studio 2005 beta , .net version 2 i deploy my application to a server and it is run from client computers. One of the users gets the error "Internet...
3
by: VK | last post by:
Internet Explorer 7 beta 2 preview CNET Editor review: <http://reviews.cnet.com/Internet_Explorer_7_for_XP_SP2_Beta_2/4505-3514_7-31454661-2.html?tag=nl.e415> Summary (my personal review...
3
by: Bret Butcher | last post by:
All, I want to write a plugin for internet explorer but can't seem to find any documentation on the APIs. Ideally I want to create a plugin that searches the history and favorites by url or title...
7
by: francais31415 | last post by:
Hi, (Apologies in advance for any cross-posting.) This is my first post to this group. I hope you can help me. I've got a page (of my own design) with a table that renders fine in Firefox and...
1
by: Richard OBrien | last post by:
Hi Guys, I used an example from adobe.com to make a spry scoreboard that automatically updates the scores from an xml document. I took it futher and have had some success, but when I put it live I...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.