From 69ff51968fe04dac0dd702b7b5eed928ad71945b Mon Sep 17 00:00:00 2001
From: yl <ykxkd@outlook.com>
Date: 星期一, 21 十一月 2022 15:10:08 +0800
Subject: [PATCH] MES产品的登陆接口存redis加企业区分
---
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