Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SessionBroadcasterCache deliver messages twice #567

Closed
xenster86 opened this issue Aug 20, 2012 · 3 comments
Closed

SessionBroadcasterCache deliver messages twice #567

xenster86 opened this issue Aug 20, 2012 · 3 comments

Comments

@xenster86
Copy link

Atmosphere 1.0.0.beta5

  1. Open jquery-pubsub sample
  2. add SessionBroadcasterCache to web.xml
  3. Open two browsers: firefox and chrome
  4. connect to the same topic using long-pooling transport
  5. send message from any browser
  6. it is being delivered twice to one of the browsers.
  7. send message again: it is being delivered twice to another browser.
@xenster86
Copy link
Author

Hi jfarcand,
It's seems that SessionBroadcasterCache stores messages in session globally for all broadcasters, so messages from different broadcasters can override the same session attribute. I suppose that broadcaster id should be used as part of the attribute name.

@jfarcand jfarcand reopened this Aug 28, 2012
@jfarcand
Copy link
Member

@werdex You are right. Can you re-open another issue once you have a chance. I will take a look.

@jfarcand
Copy link
Member

@werdex OK filed the issue and now testing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants