Server cannot set status after HTTP headers have been sent IIS7.5

后端 未结 10 916
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-11-27 12:32

Sometimes I get exception in my production environment:

  • Process information
    • Process ID: 3832
    • Pr
10条回答
  •  渐次进展
    2020-11-27 13:04

    We were getting the same error - so this may be useful to some.

    For us the cause was super simple. An interface change confused an end user and they were pressing the back button in the browser at a 'bad' time after a form submission (sure we should probably have used a PRG pattern, but we didn't).

    We fixed the issue and the user is no longer pressing the back button. Problem solved.

提交回复
热议问题