开发者

play framework secure config

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜