Netscape caching pages for session variable
I want to protect a page from user's book marking the URL .
I am checking this with a session variable at the top of each page:
Session variable is set to true in a login page if user id and paswword matches.
' asp checking session
<%@LANGUAGE = VBScript %>
<%
Option Explicit
Response.Expires = -1000
Response.Buffer = True
if Session("Authenticated") <>True then
Response.write ""
Response.write "Sorry ! You are not authorized to view this page"
else
%>
<html> Load main page here</html>
<% end if%>
Problem is this is working fine with IE but Netscape still lets user to bypass login page and load this protected page !!!
I will appreciate your help.
|