开发者

Asp.net LoginStatus - 'log out' shows but not logged in yet

Why does my loginStatus show 'log out' even though I've not actually logged in yet?

<asp:LoginStatus ID="LoginSta开发者_JAVA技巧tus1" runat="server"
LoginText="Log In"
LogoutText="Log Out"
LogoutPageUrl="~/Default.aspx"
LogoutAction="Redirect" />


Check authentication mode in web.config. It may be set to "Windows" change it to "Forms".

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜