yl
2023-03-29 4f57c3e602eef9ec929a2315183fa28b21cd0987
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();