Thursday, 24 February 2011

What is the difference between login controls and Forms authentication?

What is the difference between login controls and Forms authentication?

  • Forms authentication can be easily implemented using login controls without writing any code.
  • Login control performs functions like prompting for user credentials, validating them and issuing authentication just as the FormsAuthentication class.
  • However, all that’s needs to be dne is to drag and drop the use control from the tool box to have these checks performed implicitly. 
  • The FormsAuthentication class is used in the background for the authentication ticket and ASP.NET membership is used to validate the user credentials. 

Login control provides form authentication. If we implement for authentication through form authentication then we do it through code. On the other hand, login control allows the easy implementation on the basis of form authentication without writing much of code. Underneath the control, the class used for login control is also FormAuthentication class. So instead of creating your own set of user credential validations and issuing of authentication ticket, it is simpler to use a normal login control.

5 comments:

  1. This comment has been removed by the author.

    ReplyDelete
  2. Harrah's Casino & Hotel, Chester, PA | MapYRO
    HARRAH'S CASINO 제주 출장샵 & HOTEL, 평택 출장안마 Chester, 태백 출장안마 PA 18702 청주 출장안마 - Use this simple form to find hotels, motels, and other lodging near Harrah's 평택 출장샵 Casino & Hotel, Chester.

    ReplyDelete