Solved

prevent authorised page caching

Posted on 2000-05-08
1
179 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

Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
Dramatic changes are revolutionizing how we build and use technology. Every company is automating, digitizing, and modernizing operations. We need a better, more connected way to work together as teams so we can harness the insights from our system…
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…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

707 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