Vaadin 7 Session ID
Does Vaadin 7 provide some sort of session id? I want to track the usage of each session.
I looked at the document VaadinSession
but didn't notice.
I suppose I could roll my own by creating a UUID and associating it with a VaadinSession with a call setAttribute
. But not needed if Vaadin gives me an ID.
+3
source to share
1 answer
You can get SESSION_ID
through VaadinSession
(and then WrappedSession
).
VaadinSession.getCurrent().getSession().getId()
+9
source to share