When 开发者_如何学CI 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?
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.
精彩评论