I'm having a problem with the ASP.Net Membership control LoginView on my homepage.
I've noticed when I login, all child pages it shows I'm logged in. If I go to my homepage however if shows I'm not logged in, even though I am by subsequently returning to my child pages.
However if I fully qualify the URL with the home URL, it works.
Anyone else having this problem. Currently I'm not sure if its a problem with .NET control or the fact the URL re-writer in Umbraco is causing the problem. Any ideas?
Membership Controls
I'm having a problem with the ASP.Net Membership control LoginView on my homepage.
I've noticed when I login, all child pages it shows I'm logged in. If I go to my homepage however if shows I'm not logged in, even though I am by subsequently returning to my child pages.
However if I fully qualify the URL with the home URL, it works.
For SEO purposes the home link needs to be...
http://<domain>/
however the full qualification is...
http://<domain>/home.aspx
Here is my control markup...
Anyone else having this problem. Currently I'm not sure if its a problem with .NET control or the fact the URL re-writer in Umbraco is causing the problem. Any ideas?
<asp:LoginView ID="UmbracoLoginView" runat="server" EnableViewState="true">
<AnonymousTemplate>
<asp:Login ID="Login1" runat="server"
DisplayRememberMe="False"
LoginButtonType="Link"
TitleText=""
LoginButtonText="Go"
UsernameLabelText="Username"
PasswordLabelText="Password"
PasswordRequiredErrorMessage="Password required."
UserNameRequiredErrorMessage="Username required."
CssClass="btnOrange"
FailureTextStyle-CssClass="loginError"
FailureTextStyle-ForeColor = "" />
</AnonymousTemplate>
<LoggedInTemplate>
<%= this.Welcome %>
<asp:LoginName id="LoginName1" runat="server" CssClass="loggedName" />
<asp:LoginStatus ID="LoginStatus1" runat="server"
LoginText="Login"
LogoutText="Logout" CssClass="loggedStatus" />
</LoggedInTemplate>
</asp:LoginView>
is working on a reply...