Redirect user from login.aspx depending on role?
-
2012년 3월 7일 수요일 오전 1:02
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..
- 이동됨 Shyam NamboodiripadMicrosoft Employee 2012년 3월 7일 수요일 오전 2:35 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)
모든 응답
-
2012년 3월 12일 월요일 오전 8:47중재자
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
- 편집됨 Allen Li - MSFTModerator 2012년 3월 12일 월요일 오전 8:47
- 답변으로 표시됨 Allen Li - MSFTModerator 2012년 3월 15일 목요일 오전 7:21

