今天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
问题是解决了 但是是什么原因 现在不清楚 也希望哪位大侠愿望解释下