Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
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?
Mostafa Hany El Sayed: 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??