Redirect user from login.aspx depending on role?
-
Wednesday, March 07, 2012 1:02 AM
Hye..
I want to redirect user after login into a specific web page.
For example, when admin login by enter username and password, he will be directed into admin page(admin.master) while supervisor(supervisor.master) and user(user.master) will directed into their page. I have created folder roles contain managesRoles and userAndRoles for admin and supervisor. But I don't know how to redirect into a specific page after they login.
I am using visual studio 2010(vb.net) for web development
Cn anyone help me please..
- Moved by Shyam NamboodiripadMicrosoft Employee Wednesday, March 07, 2012 2:35 AM This question is unrelated to Microsoft "Roslyn " CTP. Rerouting to a forum where the likelihood of getting an answer is higher. (From:Microsoft "Roslyn" CTP)
All Replies
-
Monday, March 12, 2012 8:47 AMModerator
Hi, you can add your codes to the "LoggedIn" event of Login control so that you can redirect different users to correct page, please try the method on the following link:
http://forums.asp.net/post/1595861.aspx
- Edited by Allen Li - MSFTModerator Monday, March 12, 2012 8:47 AM
- Marked As Answer by Allen Li - MSFTModerator Thursday, March 15, 2012 7:21 AM


