web.config forms authentication
Posted on 2011-03-18
I have the following in my web.config;
<forms name=".ASPXAUTH" loginUrl="login/login.aspx" />
<deny users="?" />
this is working great. However, when a user logs in they are redirected to a different home page dependent upon their role in the db.
so for example admin is redirected to admin/default.aspx, a client client/default.aspx, etc..
Now after a user logs in I want to do the following;
either redirect to the page they were trying to access, or their relevant home page? is this possible using this authentication?