Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Profiterole 232 posts 264 karma points
    Sep 15, 2012 @ 21:03
    Profiterole
    0

    Member won't log

    Hi, I have a working 4.7.2 umbraco with asp.net membership. I move my umbraco installation to the production server and now members can't log in. I have a standard login page

    <asp:LoginView ID="UmbracoLoginView" runat="server">
    <umbraco:Macro Alias="test" runat="server"></umbraco:Macro>
    <asp:Login ID="Login2" runat="server" RememberMeSet="True" FailureText="La connexion a échoué." LoginButtonText="Connect" PasswordLabelText="Mot de passe :" RememberMeT ext="Souvenez-vous de moi" TitleText="Page de connexion" UserNameLabelText="Nom d'util isateur :">
    </asp:Login>
    </asp:LoginView>

    When I click "connect" there's some loading and then nothing.

    So I created a "test" macro which si yes or no if logged or not. It's always no. Since it works on dev site but not production, what I've missed?

    Thank you!

  • Profiterole 232 posts 264 karma points
    Sep 15, 2012 @ 22:37
    Profiterole
    0

    Ok, I forgot to change the domain in web.config!

        <authentication mode="Forms">
          <forms name="yourAuthCookie" loginUrl="login.aspx" domain="prod.mysite.com" protection="All" path="/" />
        </authentication>
Please Sign in or register to post replies

Write your reply to:

Draft