Author: inutan@gmail.com | Posted on: 10/1/2009 5:27:29 AM | Views : 398

Hello there,
I am using Forms authentication in my website.
All the pages except ones in ~/Admin/ folder are available to public,
so want to restrict pages under ~/Admin/ with a login page.
However, when I try to access pages under Admin section, no Login page is shown

Below is the snippet from my web.config file:


<configuration> ... <system.web> <authentication mode="Forms"> <forms name=".ASPXAUTH" loginUrl="~/Admin/Login.aspx" defaultUrl="~/Admin/Default.aspx" ></forms> </authentication> <authorization> <allow users="*"/> </authorization> ... </system.web> ... < ...

Go to the complete details ...