title: Server-side session in play framework
body: <p>I was trying out play framework's session feature to make an authentication system. Adding data to the session stores them in cookie. I am using react and redux on client-side. When the user clicks on a login button, an AJAX call is sent by the client script. The server receives the request and checks the username and password and adds the user id to the session. The client script receives the response and then redirects to profile page. And because the AJAX response is not setting the cookie to the main site, the profile page redirection in turn gets redirected to the login page. I think the solution for this is server-side session. Is there any possibilities to implement server-side session in play framework using any modules?</p>