???????????Session
????1.Web???壺index.aspx
????<a href="logoutHandler.ashx">???</a>
????2.???????????LogoutHandler.ashx
1     /// <summary>
2     /// LogoutHandler ???????
3     /// </summary>
4     public class LogoutHandler : IHttpHandler??IRequiresSessionState
5     {
6         public void ProcessRequest(HttpContext context)
7         {
8             context.Session.Clear();    //?????????????????е?????
9             context.Session.Abandon();  //????????
10
11             context.Response.Redirect("/account/login.aspx");   //???????
12         }
13
14         public bool IsReusable
15         {
16             get
17             {
18                 return false;
19             }
20         }
21     }
????3.??ɡ?