Expire and No-Cache of Web pages in Internet Explorer

Date: 15 May 2002
Product/Release: LANSA for the Web
Abstract: Expire and No-cache of Web pages in Internet Explorer
Submitted By: LANSA Technical Support
Last Review: November 2010

Example to expire and have no-caching of Web pages in Internet Explorer:

https://support.microsoft.com/en-us/help/234067/how-to-prevent-caching-in-internet-explorer

<HTML>
			<HEAD>
			<META HTTP-EQUIV="REFRESH" CONTENT="5">
			<TITLE> Pragma No-cache < /TITLE>
			</HEAD>
				<BODY>
				  LANSA HTML code etc... belongs here
				</BODY>
			<HEAD>
			<META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE" />
			<META HTTP-EQUIV="EXPIRES" CONTENT="-1" />
			</HEAD>
		</HTML>

For the tag "< meta http-equiv="expires" content="-1" /> " -1 means do not cache and expire straight away.

Therefore, when the user click the Back button, they will get the warning: Page has Expired - Please Refresh or resubmit information etc. in internet explorer.

Note: These meta tags need to be within the HEAD section. This is very important.