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: August 14, 2014 @ 2:00 p.m. ET / 11:00 a.m. PT Data protection has long been considered "overhead" by many organizations in the past, many chalking it up to an insurance policy or an extended warranty you may never use. The realities of today makes data protection a must-have, as we live in a data-driven society -- the digital assets we create, share, and collaborate with others on must be managed and protected for many purposes. Check out this upcoming eSeminar and join Seagate Cloud …

  • Cisco and Intel have harnessed flash memory technology and truly innovative system software to blast through the boundaries of today's I/O-bound server/storage architectures. See how they are bringing real-time responsiveness to data-intensive applications—for unmatched business advantage. Sponsored by Cisco and Intel® Partnering in Innovation

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds