Question
BlazeDS Requires HTTP Session? (help!)
We have just upgraded from 3.0.0.544 to 3.2.0.3978 and are now seeing this error:
== faultString ==
{{{
Detected duplicate HTTP-based FlexSessions, generally due to the remote host disabling session cookies. Session cookies must be enabled to manage the client connection correctly.
}}}
== faultCode ==
{{{
Server.Processing.DuplicateSessionDetected
}}}
Our systems have no need to keep track of HTTP sessions across the web tier (any node can service any request) but this version of Blaze seems to be forcing us to share sessions across our servers.
Is there anyway to disable the session requirement?
What is it keeping track of that requires session clustering?
Thanks.
(add on after some digging)
I can see here: http://opensource.adobe.com/svn/opensource/blazeds/branches/3.x/modules/core/src/java/flex/messaging/endpoints/BaseHTTPEndpoint.java
that if the HttpEndPoint sees more than one HttpFlexSession in the session, it flags the session as duplicate and returns an error to the client. This is not desirable in applications that have no need for sessions and may be using more than one system to handle requests.
== faultString ==
{{{
Detected duplicate HTTP-based FlexSessions, generally due to the remote host disabling session cookies. Session cookies must be enabled to manage the client connection correctly.
}}}
== faultCode ==
{{{
Server.Processing.DuplicateSessionDetected
}}}
Our systems have no need to keep track of HTTP sessions across the web tier (any node can service any request) but this version of Blaze seems to be forcing us to share sessions across our servers.
Is there anyway to disable the session requirement?
What is it keeping track of that requires session clustering?
Thanks.
(add on after some digging)
I can see here: http://opensource.adobe.com/svn/opensource/blazeds/branches/3.x/modules/core/src/java/flex/messaging/endpoints/BaseHTTPEndpoint.java
that if the HttpEndPoint sees more than one HttpFlexSession in the session, it flags the session as duplicate and returns an error to the client. This is not desirable in applications that have no need for sessions and may be using more than one system to handle requests.
