rejetto forum

Software => HFS ~ HTTP File Server => HTML & templates => Topic started by: Foggy on October 13, 2007, 01:46:32 PM

Title: Make a page expire
Post by: Foggy on October 13, 2007, 01:46:32 PM
Does anyone know of a way that I can make the browser say the page has expired when I click the back button?
Title: Re: Make a page expire
Post by: Mars on October 14, 2007, 08:22:29 PM
you can use this meta balise 

<META HTTP-EQUIV="Expires" CONTENT="Mon, 30 Jun 1999 14:30:00">

with %timestamp% you can detect the begining of time when server give web page.

by example:
<HTML>
<META HTTP-EQUIV="Expires" CONTENT=expire_date()>

<script ......>
function expire_date()
  {     expire_date=%timestamp% + delay}
</script>


 make test i have not testing that