admin管理员组文章数量:1642510
第一种错误:
今天flex + blazeds遇到以下错误:
"Server.Processing.DuplicateSessionDetected"
faultDetail = (null)
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."
刚遇到这样的问题 不知道是怎么一回事 上网google 百度了都没有找到解决方法
最后发现问题出现在 RemoteObject的endpoint上,在endpoint的url上多加了反鞋杠
如url本应该是这样的
http://127.0.0.1/test/messagebroker/amf
但是写成了这样:
http://127.0.0.1//test/messagebroker/amf
就出现以上错误了
请仔细比较两个url有什么不同
http://127.0.0.1/test/messagebroker/amf
http://127.0.0.1//test/messagebroker/amf
问题是解决了 但是是什么原因 现在不清楚 也希望哪位大侠愿望解释下
第二种:
Duplicate HTTP-based FlexSession error: A request for FlexClient 'B17EC504-1A08-06AB-EB85-C6EEB3358DBC' arrived over a new FlexSession 'C7D55679A753A7754F26A0DC3A626853', but FlexClient is already associated with FlexSession 'AB05860FDFED13D00EAEF5A76F91A4AE', therefore it cannot be associated with the new session.
由于使用了spring security, 它对Session有更行管理,对它进行一下配置就可以了
<http entry-point-ref="entryPoint" auto-config="true">
<anonymous enabled="false" />
<session-management
session-fixation-protection="migrateSession">
<concurrency-control max-sessions="1" />
</session-management>
</http>
本文标签: 错误detectedblazedsflexDuplicate
版权声明:本文标题:flex blazeds Detected duplicate HTTP-based FlexSessions错误 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://www.elefans.com/dongtai/1729340582a1197488.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论