How do I configure the namne of the SESSION cookie in Play 2.1?
By default Play seems to create a cookie called 'PLAY_SESSION'. How can I customise the name?
Thanks
How do I configure the namne of the SESSION cookie in Play 2.1?
By default Play seems to create a cookie called 'PLAY_SESSION'. How can I customise the name?
Thanks
All of the details about the session can be configured within the
application.conf
The setting you want is
session.cookieName=COOKIE_NAME
Its worth looking at the Docs within the Http.scala file. Mainly around the Session case class.
Hope that helps!