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!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With