different destinations for FormsAuthentication.RedirectFromLoginPage
Posted on 2011-02-17
I have my login page which uses formsauthentication and uses FormsAuthentication.RedirectFromLoginPage
The problem is that dependant on the user that logs in I want to redirect to different pages.
The user information is stored in a database an a user will be linked to different profiles etc.
I was thinking about just redirecting to an aspx page that does this work, so go to the database and get user details then a select case to do the different redirects.
Is there anyway I can set the formasautthentication redirect page rather than having to do my idea?