Solved

prevent authorised page caching

Posted on 2000-05-08
1
173 Views
Last Modified: 2013-12-25
I am trying to work out how to prevent a page from caching. It is an html page created from a perl script. It is being called from a directory which has an .htaccess file in it to restrict viewing except on provision of a correct user name and password. The authorisation bit is working when the page is first accessed but I would like it to ask for the password again every time the page is viewed (including using the Back button) I've tried meta tags and http headers but nothing is working.
0
Comment
Question by:louobrien
1 Comment
 
LVL 3

Accepted Solution

by:
bark10 earned 100 total points
ID: 2788398
Even this tag:

<meta http-equiv="Expires" content="-1">

This always seems to work for me.
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How search webpage "viewable text" only 1 79
Google maps isn't showing even after API has been entered 12 90
tomcat startup error 5 66
Two wordpress questions 3 46
Envision that you are chipping away at another e-business site with a team of pundit developers and designers. Everything seems, by all accounts, to be going easily.
Because your company can’t afford for you to make SEO mistakes, you’ll want to ensure you’re taking the right steps each and every time you post a new piece of content. This list of optimization do’s and don’ts can help you become an SEO wizard.
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

831 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