Solved

prevent authorised page caching

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

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

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

Suggested Solutions

An enjoyable and seamless user experience can go a long way on an eCommerce site. While a cohesive layout and engaging copy play roles in creating a positive user experience, some sites neglect aspects that seem marginal but in actuality prove very …
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.
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…
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).

828 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