ptran
Feb 1st, 2000, 02:47 AM
I'm trying to build a protect pages via login, I would able to see the result in IE5.0, but not with Netscape 4.5. The following is my code:
This is securitycheck.asp
<%
response.expires=0
if session("securitylevel")>1 then
' nothing to do
else
response.redirect "securityunauthorized.asp"
end if
%>
This is one of the page:
<!--#include file="securitycheck.asp"-->
<%
Response.Write "<html>"
Response.Write "<body>"
Response.Write "<h1><font color=#0000FF>Nextlink Inventory Page</font></h1>"
Response.Write "<p><font color=#0000FF> </font>"
Response.Write "<ul>"
Response.Write "<li><a href=main1.htm><font color=#0000FF>Add New Inventory List</font></a></li>"
Response.Write "<li><font color=#0000FF>Edit Inventory List</font></li>"
Response.Write "<li><font color=#0000FF>Search Inventory List</font></li>"
Response.Write "</ul>"
Response.Write "</body>"
Response.Write "</html>"
%>
How could I make netscape to see the security?
Thanks
This is securitycheck.asp
<%
response.expires=0
if session("securitylevel")>1 then
' nothing to do
else
response.redirect "securityunauthorized.asp"
end if
%>
This is one of the page:
<!--#include file="securitycheck.asp"-->
<%
Response.Write "<html>"
Response.Write "<body>"
Response.Write "<h1><font color=#0000FF>Nextlink Inventory Page</font></h1>"
Response.Write "<p><font color=#0000FF> </font>"
Response.Write "<ul>"
Response.Write "<li><a href=main1.htm><font color=#0000FF>Add New Inventory List</font></a></li>"
Response.Write "<li><font color=#0000FF>Edit Inventory List</font></li>"
Response.Write "<li><font color=#0000FF>Search Inventory List</font></li>"
Response.Write "</ul>"
Response.Write "</body>"
Response.Write "</html>"
%>
How could I make netscape to see the security?
Thanks