0

Does Response.Flush have any affect on the session state of an application? For example, if the response is flushed then could the session lock be removed?

I am experience what appears to be an occasional session collision as described in my question here: ASP.NET - Accessing web page twice from client. The session collision appears to occur on a web page, which flushes the response periodically.

Community
  • 1
  • 1
w0051977
  • 15,099
  • 32
  • 152
  • 329

1 Answers1

1

Assuming i understand your question.

No it has no effect on the Session State.Response.Flush sends the output immediately to the client. It has nothing to do with the Session State.

MSDN Response.Flush Method - The Flush method sends buffered output immediately.

dknaack
  • 60,192
  • 27
  • 155
  • 202