Solved

Refreshing an ASP-page

Posted on 1998-08-18
3
170 Views
Last Modified: 2013-12-25
I have a problem when opening a modal dialog in Explorer 4. The source URL is an ASP-page which should always be updated when a user opens it. I would like to disable the cache for this page. Is there any way to do this, or by refreshing the page automatically when loading?
0
Comment
Question by:mnprsd
  • 2
3 Comments
 
LVL 75

Accepted Solution

by:
Michel Plungjan earned 150 total points
Comment Utility
put

<META HTTP-EQUIV="Expires" CONTENT="0">

in the head of the page.

An alternative is

<META HTTP-EQUIV="Pragma" CONTENT="no-cache">

Michel
0
 

Author Comment

by:mnprsd
Comment Utility
A quick and correct answer. Perfect, thank you.

One note though, it seems that it takes about 10 sec before the cache is lost?? It don't bother me however.
0
 
LVL 75

Expert Comment

by:Michel Plungjan
Comment Utility
Interesting! I must check that out.. Never noticed it.

Glad to be of service,
Michel
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

In this tutorial I will aim to show you how simple is making a small application in WhizBase, how to add, remove and update data in the DB. I will make a small address book application where you can add, browse, update and remove addresses. I wi…
Batch, VBS, and scripts in general are incredibly useful for repetitive tasks.  Some tasks can take a while to complete and it can be annoying to check back only to discover that your script finished 5 minutes ago.  Some scripts may complete nearly …
Learn the basics of strings in Python: declaration, operations, indices, and slicing. Strings are declared with quotations; for example: s = "string": Strings are immutable.: Strings may be concatenated or multiplied using the addition and multiplic…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…

728 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now