Microsoft SharePoint 2007 gives you the option of using forms authentication, but the out-of-the-box forms-based login experience is fairly bland. It’s not bad if you’re doing something for internal use, but if you’re doing something for internal use then you’re probably using Windows authentication. Forms authentication is normally found on external or customer facing sites where corporate branding is a big deal, and master pages play a major role in presenting a consistent look and feel throughout a SharePoint site. But when you apply a master page to a publishing site, or edit the default.master in a team site, you’ll quickly find out that it doesn’t alter the look and feel of the login page. In this article, we’ll take a look at why that is and what you need to do to get your login page in line with your corporate brand.
The login page will be residing in C:\Program Files\Common Files\Microsoft Shared\Web Server Extension\12\template\layouts with file name login.aspx
protected override void OnLoad(EventArgs e)
Response.Write(“This is from the onload event”);
<asp:login id=”login” runat=”server” />