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: September 16, 2014 @ 11:00 a.m. ET / 8:00 a.m. PT Are you starting an on-premise-to-cloud data migration project? Have you thought about how much space you might need for your online platform or how to handle data that might be related to users who no longer exist? If these questions or any other concerns have been plaguing you about your migration project, check out this eSeminar. Join our speakers Betsy Bilhorn, VP, Product Management at Scribe, Mike Virnig, PowerSucess Manager and Michele …

  • Java developers know that testing code changes can be a huge pain, and waiting for an application to redeploy after a code fix can take an eternity. Wouldn't it be great if you could see your code changes immediately, fine-tune, debug, explore and deploy code without waiting for ages? In this white paper, find out how that's possible with a Java plugin that drastically changes the way you develop, test and run Java applications. Discover the advantages of this plugin, and the changes you can expect to see …

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds