In the control attributes, there are two attributes: logoutaction and logoutpageurl. You can set that only the current page is refreshed, redirected to a page, or redirected to the logon page when logging out. When testing this control, I am confused about how to set the loginpageurl (login page) and run it.
ProgramWhen you press the login link displayed by this control, the login. aspx is always transferred to the root folder, and the actual logon file is in/member/login. aspx. After checking the information, the original logon URL is set in Web. config. If you use form to verify logon, the default web. config is written as follows:
<System. Web>
<Authentication mode = "forms"/> </system. Web> you need to modify it as follows: <system. Web>
<Authentication mode = "forms">
<Forms loginurl = "~ /Member/login. aspx "> </Forms>
</Authentication> </system. Web>