Does Vaadin 7 offer some kind of session identifier? I want to track some usage by each session.
I looked at the doc for VaadinSession
but did not notice any.
I suppose I could roll my own by generating a UUID and attaching it to the VaadinSession with a call to setAttribute
. But no need if Vaadin gives me an identifier.
You could get the SESSION_ID
via the VaadinSession
( and then WrappedSession
).
VaadinSession.getCurrent().getSession().getId()
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With