Difference between login controls and Forms authentication - ASP.NET

          

ASP.NET - Login controls and Forms authentication


Next>>         Learn ASP.NET
ASP.NET - Login controls and Forms authentication - April 30, 2009 at 18:00 PM by Amit Satpute

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. 
ASP.NET - Login controls and Forms authentication - June 04, 2009 at 15:00 PM by Shuchi Gauri

What is the difference between login controls and Forms authentication?

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.


Next>>

Also read

ASP.NET Overview

ASP.NET Server Control Events

.Net Framework



Write your comment - Share Knowledge and Experience

Discussion Board
Login controls and Forms authentication

Good explanation. This site is fantastic for freshers and experienced

Daya 08-17-2012 03:53 AM

 

 

 
Latest placement tests
Latest links
 
Latest MCQs
» General awareness - Banking » ASP.NET » PL/SQL » Mechanical Engineering
» IAS Prelims GS » Java » Programming Language » Electrical Engineering
» English » C++ » Software Engineering » Electronic Engineering
» Quantitative Aptitude » Oracle » English » Finance
Home | About us | Sitemap | Contact us | We are hiring