Solved

prevent authorised page caching

Posted on 2000-05-08
1
177 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
[X]
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
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
website rewamp 5 64
Please explain purpose of GZIP 4 81
How can I improve my website to a higher score via webometrics rules? 4 94
Code Coverage and Coding Standards 2 78
When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
Color can increase conversions, create feelings of warmth or even incite people to get behind a cause. If you want your website to really impact site visitors, then it is vital to consider the impact color has on them.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

737 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