Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Vaadin 7 Session Id

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.

like image 760
Basil Bourque Avatar asked Aug 29 '14 23:08

Basil Bourque


1 Answers

You could get the SESSION_ID via the VaadinSession ( and then WrappedSession).

VaadinSession.getCurrent().getSession().getId()
like image 136
Jose Luis Martin Avatar answered Nov 06 '22 07:11

Jose Luis Martin