views:

37

answers:

1

I got 2 folder, one is "Lectures" where only lecture can login, and another is "Students" where only students can login.

and i use role-based authorization. but the problem is i only can assign one value for defaultUrl in web.config, if i assign it to "~/Lectures/Default.aspx" and this make lecture can login without any problem, but when student login, the student will stuck at login page, so any idea to change defaultUrl in web.config through C#???

A: 

http://aspalliance.com/684

PapillonUK