You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Jacob Barrett (Jira)" <ji...@apache.org> on 2020/06/03 19:26:00 UTC

[jira] [Created] (GEODE-8221) Session state not committed prior to servlet output flush with commit valve enabled

Jacob Barrett created GEODE-8221:
------------------------------------

             Summary: Session state not committed prior to servlet output flush with commit valve enabled
                 Key: GEODE-8221
                 URL: https://issues.apache.org/jira/browse/GEODE-8221
             Project: Geode
          Issue Type: Bug
          Components: http session
            Reporter: Jacob Barrett


The Tomcat session state module does not commit session data to Geode prior to servlet output flushing to browser if commit valve is enabled. The commit valve delays the commit of session state until the of the request scope prior to closing and ending the current request with the browser. This can result in some data being sent to the browser asynchronously with the session state persistence. If the servlet or JSP invokes a flush on output stream, write or response either explicitly through the flush method or implicitly because of full buffers then the browser may receive data that instructs it to make another request. This subsequent request may receive the currently committed session state prior to the completion of the initial request. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)