我有一个使用 IHTTPHandler 并且没有实现IRequiresSessionState或IReadOnlySessionState的类。我仍然看到它访问我们的会话提供程序导致过度使用。
堆栈跟踪: HttpRuntime.ProcessRequestInternal => HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest => ApplicationStepManager.ResumeSteps => HttpApplication.ExecuteStep => AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute => SessionStateModule.BeginAcquireState => SessionStateProvider.ResetItemTimeout => SessionStateItem.Save
有没有办法告诉 HttpHandler 不使用 Session?