yl
2022-10-15 c16e0f7b85d433b53ebcda0822841f535ea0e3e6
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();