Forums

ASP

This topic is locked

middle login redirect

Posted 05 Aug 2003 23:11:01
1
has voted
05 Aug 2003 23:11:01 Adam Davies posted:
Im looking to try and do a "in the middle login redirect script" based on the access level of the user logging in.

basically i see it like this user types in username and login into the login page -(regular asp user authentication server behaviour) success goes to logincheck.asp - fail goes to fail.asp

logincheck.asp takes the access level variable from the user login and redirects to the correct page.

for example a user level of 1 goes to admin.php

user level of 2 goes to subadmin.asp

user level of 3 goes to client.asp

does anyone have a link to an existing version of this so I can check what im doing is right.

Reply to this topic