/// <summary> /// 退出 创建人:yxy 创建时间:2015-06-08 /// </summary> /// <param name="context"></param> public void Exitlogin(HttpContext context) { try { RequestSession.ClearSessionUser();//清空session context.Response.Write("1"); } catch { context.Response.Write("0"); } }