ASP.NET version of "Login & Password"

By John Peterson

A very simple introduction to forms authentication in ASP.NET. The sample includes examples of the three files you'll need in order to password protect a page or section of your web site using ASP.NET: a login page, a page to protect, and an appropriately set up web.config file.



About the Author

From ASP101

Articles originally posted on ASP101.com

Downloads

Comments

  • Multimedia Specialist

    Posted by Tim on 11/14/2012 08:55am

    Hello, I got the login page up, but when logging in, it goes right to default.aspx https://cme-online.wustl.edu/login.aspx I also noticed I can go right to https://cme-online.wustl.edu/login-protected.aspx bypassing login Here is my web.config

    Reply
  • aspcodes

    Posted by travies on 09/15/2012 03:20pm

    i need codes not echus and ek ek

    Reply
  • compose

    Posted by anil kumar on 05/15/2012 11:47pm

    good

    Reply
Leave a Comment
  • Your email address will not be published. All fields are required.

Top White Papers and Webcasts

  • Live Event Date: December 11, 2014 @ 1:00 p.m. ET / 10:00 a.m. PT Market pressures to move more quickly and develop innovative applications are forcing organizations to rethink how they develop and release applications. The combination of public clouds and physical back-end infrastructures are a means to get applications out faster. However, these hybrid solutions complicate DevOps adoption, with application delivery pipelines that span across complex hybrid cloud and non-cloud environments. Check out this …

  • Due to internal controls and regulations, the amount of long term archival data is increasing every year. Since magnetic tape does not need to be periodically operated or connected to a power source, there will be no data loss because of performance degradation due to the drive actuator. Read this white paper to learn about a series of tests that determined magnetic tape is a reliable long-term storage solution for up to 30 years.

Most Popular Programming Stories

More for Developers

RSS Feeds