I've been playing around with generic DB and think I'm getting the
hang of it. I thought I'd give your custom security a shot.
(http://www.learnasp.com/learn/security2.asp)
I'm happy to say I've got it 90% working. I can login or get denied.
I figured out how to reponse.redirect to the next page rather than the
response.write and changed the pw to a proctected field.
Now I have a few questions
1)I can log in with any security code and still be directed regardless
of if the respond page requires security level 1, 2 or 3. Is the code
hierarchical so 3 can always log in for security level 1 pages? Or is
it simply because there is a user in the db it will redirect? But I
guess then it would still have to meet the requirements of the
security clearance on the second page. HUM�..I'm missing something and
I'm not sure what it is =/
2)To create a level2 level page is it the exact same code and you just
save it as a different name? I'm not sure what the code is doing in
this portion so I could be wrong.
**********
<%
response.expires=0
if session("securitylevel")>0 then
' nothing to do
else
response.redirect "securityunauthorized.asp"
end if
%>
***********
3)Can you create login pages that direct you based on security level?
So with my genericdb address book example � if you have security level
1 and login you would be directed towards a viewer only � level 2 you
could edit last name � and level 3 you could edit everything? I'm
sure there is a way =) Any tips on how to get there?
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/