Fork me on GitHub

Session store (v4.3)

The WebContext is an abstraction to deal with the HTTP request and response.

To specifically deal with the session, it relies on a SessionStore which may be available via the getSessionStore method.

The SessionStore has the following methods:

For example, the JEEContext currently uses the JEESessionStore which relies on the JEE session. In Play, we have a specific cache-based PlayCacheSessionStore as well as in Knox, which has a cookie-based KnoxSessionStore.