Category - Forms Authentication
20 Mar 2020 20 Mar 2020 0 Comments  492 Views
Here Mudassar Ahmed Khan has explained with an example, how to permanently keep User Logged in for long period even when browser closed and automatically login the User back when he visits next time using Forms Authentication and Cookies in ASP.Net MVC Razor.

This User Login form and keeping User Logged in functionality will be implemented using Custom Forms Authentication and Entity Framework.
20 Mar 2020 20 Mar 2020 0 Comments  333 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement Remember Me CheckBox functionality i.e. Remember the UserName and Password for the user when he visits next time using Cookies in ASP.Net MVC Razor.

This User Login form and Remember Me CheckBox functionality will be implemented using Custom Forms Authentication and Entity Framework.
16 Jul 2018 17 Jul 2018 0 Comments  14310 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement custom Authorization and Authentication using Forms Authentication in ASP.Net MVC Razor.

This article will illustrate how to implement a login form which validates user login from database using Forms Authentication in ASP.Net MVC Razor.
16 Jul 2018 17 Jul 2018 0 Comments  3079 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement and use the Authorize and AllowAnonymous Data Annotation attributes with Forms Authentication in ASP.Net MVC Razor.
16 Jul 2018 17 Jul 2018 0 Comments  66546 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement a simple login form using Forms Authentication which validates user login from database and also redirects user to Login page if the user is not Authenticated (logged in) and tries to access a page that requires authentication in ASP.Net MVC Razor.

The Login page URL will be set in the authentication section of the Web.Config file and the User will be redirected back to Login page if not logged in using the Authorize Data Annotation attribute in ASP.Net MVC Razor.