简体   繁体   English

禁用播放会话(PLAY_SESSION)Cookie

[英]Disabling the Play Session (PLAY_SESSION) Cookie

I'm building a play application that uses token based authentication. 我正在构建一个使用基于令牌的身份验证的播放应用程序。 I therefore do not need the PLAY_SESSION cookie the framework generates for me by default. 因此,我不需要框架默认为我生成的PLAY_SESSION cookie。 Is it possible to disable the session mechanism altogether? 是否可以完全禁用会话机制? I'm aware that I could achieve this using a Filter, but this does not seem to be the optimal solution. 我知道我可以使用过滤器来实现此目的,但这似乎不是最佳解决方案。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM