LANSA Home page
  Tech Exchange Beta
TECH EXCHANGE BETA

LANSA HOME
Help Desk
HELP DESK

   
 
Navigation Bar Navigation Bar
 
Spacer Spacer
 

Expire and No-Cache of Web Pages in Internet Explorer

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

Detailed Description:

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

http://support.microsoft.com/default.aspx?scid=kb;EN-US;q222064

< 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>

Note:  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.

 
 
 

© 2009 LANSA.

  All rights reserved.

  Bullet Contact Us Bullet Site Map Bullet Legal Notices