Reputation: 85
When I set application.session.secure=true
in application.conf
I can't store anything in the session. Can anyone tell me how this is supposed to work?
Upvotes: 2
Views: 1519
Reputation: 3525
session.secure=true
only tells the client to send the cookie only over https (not over http).
Remember that Play! is a stateless framework. Nothing should be kept in the session. If you need to store things, use the cookie.
Upvotes: 9