Forums
This topic is locked
Wish to ask about multiple access levels when you
17 Sep 2001 14:21:25 Nam Lee posted:
Hello Everybody. Wish to ask about different access levels when a person logs in. I have written some codes but it does not really works. I use VBscript with ASP.<% if session("MM_UserAuthorization" = "1" then
response.redirect("adminmenu.asp"
else if session("MM_UserAuthorization"="2" then
response.redirect("powerusermenu.asp"
else if session("MM_UserAuthorization"="3" then
response.redirect("usermenu.asp"
else if session("MM_UserAuthorization"="4" then
response.redirect("guestmenu.asp"
end if
%>
Is there anything wrong with the VB script? It does not seem to compute.
Any help will be appreciated.