I have an asp.net web form named default which takes log in information and sends to scheduler. How can I get it to go back to that default.aspx page after clicking the Log Off link?
Hi,
do you mean login controls that goes with ASP.Net Web Application template? Is so, logout url can be explicitly specified in LogoutPageUrl attribute of the link
<asp:LoginStatus ID="HeadLoginStatus" runat="server" LogoutAction="Redirect" LogoutText="Log Out" LogoutPageUrl="~/"/>
Where is that code found? I searched for it but nothing came up.
Thanks,
Merv
Check Site.Master of ASP.Net Web Application template, it should contain following markup<LoggedInTemplate>
Welcome <span class="bold"><asp:LoginName ID="HeadLoginName" runat="server" /></span>!
[ <asp:LoginStatus ID="HeadLoginStatus" runat="server" LogoutAction="Redirect" LogoutText="Log Out" LogoutPageUrl="~/"/> ]
</LoggedInTemplate>