Brian,
Below are a couple possible solutions using the same form
for
authentication.
1. Encapsulate the database tables in a view and check
credentials
against the view.
select username, password, 'admin' as level from admins
union all
select username, password, 'user' as level from users
2. Check for credentials in both places using functions.
if userAuth(username,password) or
adminAuth(username,password) then
FormsAuthentication.RedirectFromLoginPage
end if
HTH
-Steve
>>> brian VALLELUNGA.COM 4/11/2006 16:25
>>>
I know this wasn't supported in 1.1, but I thought 2.0
might allow
multiple login pages for use with forms authentication. I
need this
ability because I have a "customer" section of
my site and an "admin"
section. The administration section should have a different
login page
than the customer section.
Thanks,
Brian
===================================
This list is hosted by DevelopMentor* http://www.develop.com
View archives and manage your subscription(s) at
http://discuss.develop.com
===================================
This list is hosted by DevelopMentorŪ http://www.develop.com
View archives and manage your subscription(s) at http://discuss.develop.com
|