Solved

location.href + ie4 + asp

Posted on 1998-11-14
1
166 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

Because your company can’t afford for you to make SEO mistakes, you’ll want to ensure you’re taking the right steps each and every time you post a new piece of content. This list of optimization do’s and don’ts can help you become an SEO wizard.
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.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to count occurrences of each item in an array.

630 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