From b6349cb2b3a868c8c917ca221bb7eaf6f272bdd2 Mon Sep 17 00:00:00 2001
From: yl <ykxkd@outlook.com>
Date: 星期一, 22 八月 2022 10:59:55 +0800
Subject: [PATCH] 功能模块添加过滤器

---
 VueWebApi/Global.asax.cs |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/VueWebApi/Global.asax.cs b/VueWebApi/Global.asax.cs
index d73a7fa..e3bedd6 100644
--- a/VueWebApi/Global.asax.cs
+++ b/VueWebApi/Global.asax.cs
@@ -23,6 +23,10 @@
             this.PostAuthenticateRequest += (sender, e) => HttpContext.Current.SetSessionStateBehavior(SessionStateBehavior.Required);
             base.Init();
         }
+        void Session_Start(object sender, EventArgs e)
+        {
+            string sessionId = Session.SessionID;
+        }
         protected void Application_Start()
         {
             AreaRegistration.RegisterAllAreas();

--
Gitblit v1.9.3