Solved

location.href + ie4 + asp

Posted on 1998-11-14
1
165 Views
Last Modified: 2013-12-25
If I want an automatic jump back to the calling page and use location.href="first.asp" everything works fine with netscape, but if a use ie4 the "first.asp" page is loaded from cache (and changes to variables that second.asp makes itn't shown). Why whis difference between browsers?

May by the use of response.expires=0 could help but I would like location.href="first.asp" to reload the page.

Any solutions?
0
Comment
Question by:manne
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 75

Accepted Solution

by:
Michel Plungjan earned 100 total points
ID: 1856348
1. Make sure the cache settings in IE are approx. the same (contact server once a session or always...)
2. MS made asp and IE so IE knows asp better than Netscape
3. A <META HTTP-EQUIV="Expires" CONTENT="0"> will do the job of response.expires...
4. You could load location="first.asp?reload"
and put
<SCRIPT>
if (location.search && location.search.substring(1) == 'reload) {
   if (location.reload) location.reload(true); // true forces server load
}
</SCRIPT>
in the head of first.asp's html

Michel
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
CTAs encourage people to do something specific to show interest in your company, product or service. Keep reading to learn why CTAs should always be thought of as extremely important, albeit small, sections of websites.
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

710 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question