Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 387
  • Last Modified:

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

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
TUS11
Asked:
TUS11
  • 2
  • 2
1 Solution
 
WesWilsonCommented:
0
 
devlab2012Commented:
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
 
devlab2012Commented:
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
 
WesWilsonCommented:
Did one of these solutions solve your problem? If you still have a problem, please explain so someone can help you.
0
 
TUS11Author Commented:
bvcbv
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now