Forms based authentication in

In this post, we will discuss forms-based authentication in Also, you can check my previous articles on Cookieless session in Asp.NetCaching in Asp.Net and Method Overloading in C#.Net.
– When the client is authenticated based on a custom page by verifying credentials with database server then it is called as forms-based authentication.
– The security token will be given to the client as an identity of the authenticated client.
Change in web.config for modification:
 <authentication mode=”Forms”>
      <forms name=”f1″ loginUrl=”login.aspx”>
      <deny users=”?”/>
Here the name attribute will specify cookie name for maintaining security token.
By default, it will be.ASPXAUTH
Here while writing code in the Login button we have to use RedirectFromTheLoginPage.
RedirectFromTheLoginPage does two things:
– It will provide the requested page to the client.
– It will produce a security token in the form of cookies.
Check out Best Alternative to InfoPath -> Try Now


New to Office 365 SharePoint Online? Get Office 365 Enterprise E3 Subscription & Try out all the features

(Installation & Features)

About Bijay Kumar

I am Bijay from Odisha, India. Currently working in my own venture TSInfo Technologies in Bangalore, India. I am Microsoft Office Servers and Services (SharePoint) MVP (5 times). I works in SharePoint 2016/2013/2010, SharePoint Online Office 365 etc. Check out My MVP Profile.. I also run popular SharePoint web site

View all posts by Bijay Kumar →