Thomas A. Rowe said:
Ted,
I don't know of any sites that have example or sample script, I always code
my own.
Basically, I code similar to the following to control the menu option that
each user level would have access to.
Session("Access") = objRS("Access")
Session("Authenticated") = 1
<% If Session("Access") = "A" then %>
Link 1
Link 2
Link 3
Link 4
<% End If %>
<% If Session("Access") = "B" then %>
Link 1
Link 2
Link 3
Link 4
Link 5
Link 6
Link 7
Link 8
<% End If %>
Then on the pages for Link 1 thru Link 4
<%
If Session("Authenticated") <> 1 Then
Response.Redirect "Login.asp"
End If
%>
HTML content of Page
Then on the page for Link 5 thru Link 8, as double check
<%
If Session("Authenticated") <> 1 Then
Response.Redirect "Login.asp"
End If
%>
<% If Session("Access") = "B" Then %>
HTML content of Page
<% End If %>
--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)
FrontPage Resources, Forums, WebCircle,
MS KB Quick Links, etc.
==============================================