vaadin sessions

hey everyone,

currently i am working on a vaadin project and i want to learn how to work with vaadin sessions, anyone know of a good resource to learn this from?

What exactly do you want to achieve?

There’s a bit about session in the
Book of Vaadin
. Usually the developer doesn’t have to ponder much about session, sessions timeouts are probably the biggest concern.

basically what i am trying to do is some permission checking, i want to be able to check the permissions of the user in the current session, etc

What you are looking for is the
ThreadLocal pattern
. Store your application’s current user in a ThreadLocal variable.

thank you very much for the reply, is threadlocal predefined in vaadin??