How to change defaultUrl through in C#?
Posted
by kingdom manga
on Stack Overflow
See other posts from Stack Overflow
or by kingdom manga
Published on 2010-03-28T18:12:55Z
Indexed on
2010/05/12
22:44 UTC
Read the original article
Hit count: 217
aspx
|login-attempts
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#???
© Stack Overflow or respective owner