Vaadin and pusher.com (java lib) integration.

Hi All,

I am trying understanding sessions in Vaadin.

I am trying use pusher.com [1]
client lib on my Vaadin App, but a have some problems.

I need know if each time that user opens a browser and login. In this case, Vaadin appears to create a new session, thus I can have 2, 3, 4 session for same user. This is true?

In my case I attach Pusher in session. The problem is that I receive duplicated messages of pusher, one for each session.
How to know what session is attached with UI that user see in browser?

Anyone have success in use pusher.com? If yes, how you handle it?

[1]
https://github.com/pusher/pusher-websocket-java

Thanks

There is built-in support for pushing in Vaadin. Much easier.