|
|
@@ -0,0 +1,32 @@
|
|
|
+<%@ WebHandler Language="C#" Class="logOut_WCF" %>
|
|
|
+
|
|
|
+using System.Web;
|
|
|
+using System.Web.SessionState;
|
|
|
+using System.Web.Configuration;
|
|
|
+using Newtonsoft.Json.Linq;
|
|
|
+using Curtain.DataAccess;
|
|
|
+using Curtain.Log;
|
|
|
+using DK.XuWei.WebMes;
|
|
|
+
|
|
|
+/// <summary>
|
|
|
+/// 退出登录
|
|
|
+/// xuwei 2019-10-26
|
|
|
+/// </summary>
|
|
|
+public class logOut_WCF : IHttpHandler, IRequiresSessionState
|
|
|
+{
|
|
|
+ public void ProcessRequest(HttpContext context)
|
|
|
+ {
|
|
|
+ WCF wcf = new WCF();
|
|
|
+ string jsonStr = wcf.LogOut();
|
|
|
+ context.Response.Write(jsonStr);
|
|
|
+ }
|
|
|
+
|
|
|
+ public bool IsReusable
|
|
|
+ {
|
|
|
+ get
|
|
|
+ {
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+}
|