Hi,>>
> >
I have the login page that is inherited from the master page. When forms authentication is enabled the login page do not display the layout content of the master page. When the forms authentication is disabled the login page perfectly displays the content of the master page.>>
>>
What can I do to make the login page display the content of the master page when the forms authentication is enabled?>>
> >
Find below the forms authentication section of my web.config file and the login page:>>
> >
<authentication mode="Forms">>>
<forms name="mySite">>
loginUrl="Login.aspx">>
protection="All">>
timeout="30">>
path="/"/>>>
</authentication>>>
<location path="Login.aspx">>>
<system.web>>>
<authorization>>>
<allow users="*" />>>
</authorization>>>
</system.web>>>
</location>>>
---------------------------------------->>
>>
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master">>
AutoEventWireup="true" CodeFile="Login.aspx.cs" Inherits="Login">>
Title="Untitled Page" %>>>
>>
<%@ Register Src="Controls/LoginControl.ascx" TagName="LoginControl">>
TagPrefix="uc1" %>>>
<asp:Content ID="Content1" ContentPlaceHolderID="CPHMenu">>
Runat="Server">>>
</asp:Content>>>
<asp:Content ID="Content2" ContentPlaceHolderID="CPHWorkArea">>
Runat="Server">>>
<uc1:LoginControl ID="loginControl" runat="server" />>>
</asp:Content>>>
>>
Thank you,>>