קוד:
<html>
<body background="images\850.gif" dir="rtl">
<div align="center">
<%
Session("p")=Request.Form("passa")
Session("f")=Request.Form("firstname")
sq="select*from personal_data where (firstname='"&session ("f")&"' and passa='"&session ("p")&"')"
path=Server.mappath("data/db1.mdb")
set con= Server.createobject("ADODB.Connection")
con.mode=3
con.open "Provider=Microsoft.Jet.OLEDB.4.0;data source=" &path
set R=con.execute(sq)
Session("found")="true"
%>
<%
response.write "התחברת בהצלחה"
%>
</html>
לא משנה באיזה משתמש אני מתחבר אני תמיד אוכל לצפות בכל דף אפילו אם המשתמש לא קיים
וגם אם אני מתחבר כמנהל שזה סשן שונה
אני לא יכול לצפות בדפים המאובטחים איזו שורה אני אמור להוסיף בכל דף מאובטח בנוסף לשורת הסשן של המשתמש
תודה