注销控件是LoginStatus,它有两个状态,是:登陆、注销。
注销后重新指向的地址属性是:LogoutPageUrl,但无登陆LoginUrl属性,如需制定需在web.config中的<authentication mode=”forms” />部分指定,用以下部分替代。
<authentication mode=”forms”>
<forms loginUrl=”Login.aspx” />
</authentication>
尽量使用Login.aspx作为登陆页,以免命名混乱。
作者:石世特
出处:http://www.cnblogs.com/TivonStone/
希望本文对你有所帮助,想转随便转,心情好的话给我的文章留个链接.o(. .)o