当我单击注销按钮时,它没有重定向到Login_Form.aspx页面
protected void Logout_button_Click(object sender, EventArgs e)
{
Session.Abandon();
Session.Clear();
Session.Remove("LoginUserName");
Server.Transfer("Login_Form.aspx");
}
<Button ID="_Logout_Button" class="btn btn-danger fa fa-power-off" runat="server" onClick="Logout_button_Click" />