Expiring A Page in **BOTH** IE & NS

Posted on 2000-03-02
Medium Priority
Last Modified: 2010-04-09

I've noticed that the tags:
<META http-equiv="Expires" content="Tue, 20 Aug 1976 14:25:27 GMT ">
<META HTTP-EQUIV-equiv="Refresh" CONTENT="5">
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">

Do not work in IE 5.

I have a site with several sequential html pages with forms on them.

I would like to fix things such that once the user leaves one page in the sequence that they can't go back.......or go back and have the same info in those fields.

Is there a simple way that I can do this in IE AND NS?

Question by:Steve34
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
LVL 33

Expert Comment

ID: 2577864
This may not be a perfect solution, but you could try resetting the form each time the page loads:

<BODY onLoad='document.nameofmyform.reset();'>

Expert Comment

ID: 2579369
Try removing <META HTTP-EQUIV-equiv="Refresh" CONTENT="5">
the -equiv and see what happends. <META HTTP-EQUIV="Refresh" CONTENT="5"> hopefully this will refresh every 5 seconds.

Author Comment

ID: 2641731
Here is an update to the problem:


I have finished building a dynamic web site that submits a one large form........broken up over several seperate pages.... to a database.

It has to be this way.  I don't have the option of changing the design.

For a number of reasons I would like to prevent my users from hitting their "Back" buttons and going back to a form on a previous page.

The usual meta tags do not work in IE:
<META HTTP-EQUIV="Pragma" CONTENT="No-cache">
<META HTTP-EQUIV="Cache-Control", "private">

I found a web site on the internet that confirmed that they will not in IE.

I also found a link on MSDN explaining why:

This articale offered the soloution of writing the raw http headers for these tags into the web page via ASP.

ASP is not an option for this project.

I went to W3 to look up the protocols.

Frankly, I am a junior programmer.  The RFC's there are way over my head and I don't have the days/weeks to translate them and figure out how to adapt what they have to say to my  particular problem.

I was wondering if someone could give me an example of how to put a raw http header into an html page.........like the ones for the meta tags above.

Other suggestions for disabling the "Back Button" options in IE ( & Netscape ) would be greatly appreciated.


Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.


Author Comment

ID: 2641747
Adjusted points from 100 to 200

Accepted Solution

lambda earned 600 total points
ID: 2685119
The following code was found at irt.org.

"MSIE 3,4,5 cache pages even when you send the HTTP headers that are supposed to indicate to the browser
not to cache the page. The following page illustrates a little javascript you can use to work-around this problem. "


Expert Comment

ID: 2685145
How do I disable the "Back" button of a browser?


Author Comment

ID: 2704929


Featured Post

WordPress Tutorial 2: Terminology

An important part of learning any new piece of software is understanding the terminology it uses. Thankfully WordPress uses fairly simple names for everything that make it easy to start using the software.

Question has a verified solution.

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

This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …
Suggested Courses

770 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