C# .NET Web Api 保存Session

mac2022-06-30  43

Global.asax中添加:     public override void Init() { this.PostAuthenticateRequest += (sender, e) => HttpContext.Current.SetSessionStateBehavior(SessionStateBehavior.Required); base.Init(); }

上图:

 

转载于:https://www.cnblogs.com/SeNaiTes/p/9003752.html

相关资源:JAVA上百实例源码以及开源项目
最新回复(0)