Solved

How to make the page expire when user press the back button of browser and keybord also?¿

Posted on 2011-03-21
5
323 Views
Last Modified: 2012-05-11
hello


How to make the page expire when user press the back button of browser and keybord also?¿
it should by applicable in IE and FireFox.

Thanks
salim
0
Comment
Question by:TUS11
  • 2
  • 2
5 Comments
 
LVL 8

Expert Comment

by:WesWilson
ID: 35180541
0
 
LVL 13

Expert Comment

by:devlab2012
ID: 35180584
add the following lines in the <head> section:

<meta name="pragma" value="no-cache" />
<meta name="expires" value="-1" />
<meta name="cache-control" value="no-cache" />
0
 
LVL 13

Expert Comment

by:devlab2012
ID: 35196249
Use of meta tags as described in above comment is not correct. The correct use is like this:

<meta http-equiv="pragma" value="no-cache" />
<meta http-equiv="expires" value="-1" />
<meta http-equiv="cache-control" value="no-cache" />
0
 
LVL 8

Accepted Solution

by:
WesWilson earned 125 total points
ID: 35427509
Did one of these solutions solve your problem? If you still have a problem, please explain so someone can help you.
0
 

Author Closing Comment

by:TUS11
ID: 35938392
bvcbv
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Jquery autocomplete 10 69
Error in query expression 3 37
Entity Framework 7 33
designing in object programming 12 52
We were having a lot of "Heartbeat Alerts" in our SCOM environment, now "Heartbeat" in a SCOM environment for those of you who might not be familiar with SCOM is a packet of data sent from the agent to the management server on a regular basis, basic…
Deploying a Microsoft Access application in a Citrix environment is not difficult but takes a few steps. However, Citrix system people are often of little help, as they typically know next to nothing about Access. The script provided here will take …
Viewers will learn the different options available in the Backstage view in Excel 2013.
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…

863 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

22 Experts available now in Live!

Get 1:1 Help Now