Post Reply 
 
Thread Rating:
  • 1 Votes - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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
Find all posts by this user
Quote this message in a reply
Post Reply 


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

Forum Jump:


User(s) browsing this thread: 1 Guest(s)