shiro版本在1.3.2版本以上這個BUG已經解決,隻需要在配置檔案如下配置中添加紅色部分即可
<!-- 會話管理器 -->
<bean id="sessionManager" class="org.apache.shiro.web.session.mgt.DefaultWebSessionManager">
<property name="sessionIdUrlRewritingEnabled" value="false" />
.........................
</bean>