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
I solvedthe error includingthe wholebodyina single tag<formrunat=server> and deleting single <form runat=server> that surrounded the parts of code. Now it worksfine.
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
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.
is working on a reply...