Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

location.href + ie4 + asp

Posted on 1998-11-14
1
Medium Priority
?
169 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
1 Comment
 
LVL 75

Accepted Solution

by:
Michel Plungjan earned 300 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

Color can increase conversions, create feelings of warmth or even incite people to get behind a cause. If you want your website to really impact site visitors, then it is vital to consider the impact color has on them.
Dramatic changes are revolutionizing how we build and use technology. Every company is automating, digitizing, and modernizing operations. We need a better, more connected way to work together as teams so we can harness the insights from our system…
The viewer will learn how to count occurrences of each item in an array.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).
Suggested Courses

824 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