shiro中移除jsessionid的解决方案

在web.xml配置文件中设置

<session-config>
<!-- Disables URL-based sessions (no more 'jsessionid' in the URL using Tomcat) -->
<tracking-mode>COOKIE</tracking-mode>
</session-config>

posted on 2017-12-22 13:38  范兵  阅读(4849)  评论(0编辑  收藏  举报

导航