Hi All,
Can I set timeout time for particular user ? as far as I know , setting timeout is rely on this cuba.httpSessionExpirationTimeoutSec however those setting can affect to entire user
Thanks
Hi All,
Can I set timeout time for particular user ? as far as I know , setting timeout is rely on this cuba.httpSessionExpirationTimeoutSec however those setting can affect to entire user
Thanks
Hi,
You can do this with AppLoggedInEvent
and events mechanism.
In your event handler you can obtain VaadinSession and set custom timeout:
WrappedSession session = VaadinSession.getCurrent().getSession();
session.setMaxInactiveInterval(timeout);