.net网站发布后,有时候就会出现问题

网站发布后,有时候就会出现问题

Session state has created a session id, but cannot save it because the response was already flushed by the application

解决方案:在调用Response.Flush()后马上调用Response.End();这样请求就不会继续执行了

原文地址:https://www.cnblogs.com/jiebian/p/2167624.html