UNKNOWN
'**************************************
' Name: Get page from server when user p
' resses the back or forward button
' Description:I searched high and low fo
' r a code which will allow me to get a fr
' esh copy of my page even if the user pre
' sses the back or the ofrward button. Fin
' ally i gave up and wrote my own.
Expires and no-cache do not cache the page but it will still go into the history and can be retreived by the back button without going to the server
It needs IE5 or above to run
' By: Vikas Kumar
'
'
' Inputs:None
'
' Returns:None
'
'Assumes:Required IE5 or more
'
'Side Effects:None
'This code is copyrighted and has limite
' d warranties.
'Please see http://www.Planet-Source-Cod
' e.com/xq/ASP/txtCodeId.6799/lngWId.4/qx/
' vb/scripts/ShowCode.htm
'for details.
'**************************************
cut the code below a save it as a asp.
when you run this code after pressing the back/forard button you will see it will automatically refresh
<%@ Language=VBScript %>
<%Response.Expires=0%>
<%
Response.Write("")
%>
<%
Response.Write(Now())
%>