Login System (ASP.NET C#)
|
08-12-2011, 08:33 PM
Post: #2
|
|||
|
|||
RE: Login System (ASP.NET C#)
Your codes look like in ASP.NET 2.0.
Firstly, please put your pages which need be secured into a folder "secured"(any names are available). And just login.aspx is staying at root path(out side of folder "secured"). Thus you can configure the web.config: <system.web> <roleManager enabled="true" /> <authentication mode="Forms"> <forms name=".ASPXUSERDEMO" loginUrl="login.aspx" protection="All" timeout="60"/> According to the roleManager configuration as below, any anonymous users will turn back to login.aspx Pakistan's Local Search Engine | Yellow Pages of Pakistan |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Login System (ASP.NET C#) - dreamcon - 06-05-2010, 04:49 PM
RE: Login System (ASP.NET C#) - dianna - 08-12-2011 08:33 PM
RE: Login System (ASP.NET C#) - netshet - 08-13-2011, 07:29 PM
RE: Login System (ASP.NET C#) - hairtransplant - 01-18-2012, 08:08 PM
|
User(s) browsing this thread: 1 Guest(s)