Copied to clipboard

Flag this post as spam?

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


  • Davide Oliva 35 posts 199 karma points
    Mar 14, 2013 @ 12:00
    Davide Oliva
    0

    Protected access error

    hi there!
    I set a protected area in my website (Umbraco 4.7.2) and it works almost well :)
    When a member try to access a protected page he will be redirected to login.aspx that contains <asp:Login> control.
    Now, i would like to display the loginstatus in the whole website in the header section, but if i try to put the <asp:LoginView> control in the header (surrounded by the <form runat="server"> tag) the login stops to work and trying to visit login.aspx will be displayed a 404 error.
    Someone can advice me about this strange behaviour?
    Thanks you in advance!
    Davide

     

  • Davide Oliva 35 posts 199 karma points
    Mar 14, 2013 @ 18:10
    Davide Oliva
    100

    I solved the error including the whole body in a single tag <form runat=server> and deleting single <form runat=server> that surrounded the parts of code.
    Now it works fine.

Please Sign in or register to post replies

Write your reply to:

Draft