From 160c21d13368bde8ed47c91f15f78b2591033824 Mon Sep 17 00:00:00 2001
From: yl <ykxkd@outlook.com>
Date: 星期四, 08 十二月 2022 08:20:00 +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