Tips: Controlling Back Button of Internet Explorer 6.0
Using VBScript : PRB: Forward and Back Button Behavior in Internet Explorer
<%
' The following line is the important part:
Response.CacheControl = "no-cache"
Response.AddHeader "Pragma", "no-cache"
%>
<HTML>
<BODY>
<P>This page is using "Cache-Control: no-cache." This page should not becached for any reason whatsoever. Access to the page via the Back button should pullthe page back from the server.</P>
<P>Current Time:<%= Now() %>
</P>
</BODY>
</HTML>
Manually : Back button in Internet Explorer becomes unavailable.
<%
' The following line is the important part:
Response.CacheControl = "no-cache"
Response.AddHeader "Pragma", "no-cache"
%>
<HTML>
<BODY>
<P>This page is using "Cache-Control: no-cache." This page should not becached for any reason whatsoever. Access to the page via the Back button should pullthe page back from the server.</P>
<P>Current Time:<%= Now() %>
</P>
</BODY>
</HTML>
Manually : Back button in Internet Explorer becomes unavailable.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home