Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
可以在 Tomcat 6 中关闭会话跟踪。我的意思是,避免创建 cookie JSESSIONID。
谢谢路易斯
只需将 cookies='false' 放入 context.xml 中的上下文定义中
<?xml version='1.0' encoding='UTF-8'?> <Context path='/myApplicationContext' cookies='false'> <!-- other settings --> </Context>