Solved

prevent authorised page caching

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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
The viewer will learn how to count occurrences of each item in an array.
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.

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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now