yl
2022-07-31 86a0c62c22b793ebbbc67a5f2b01a9a4800640e2
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();