Solved

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

Posted on 2011-03-21
5
334 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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Vb.net dynamic formulas in runtime 11 74
SQL 2016 licensing 6 48
designing in object programming 12 76
When should I use a controller? 3 34
Many companies are making the switch from Microsoft to Google Apps (https://www.google.com/work/apps/business/). Use this article to learn more about what Google Apps has to offer and to help if you’re planning on migrating to Google Apps. It is …
Having trouble getting your hands on Dynamics 365 Field Service or Project Service trial? Worry No More!!!
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …
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…

776 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