开发者

play framework secure config

开发者 https://www.devze.com 2023-01-27 14:05 出处:网络
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 c

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

精彩评论

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

关注公众号