开发者

Disable sessions in Tomcat 6 for JSP

开发者 https://www.devze.com 2023-03-13 00:38 出处:网络
How can I configure tomcat to disable sessions in JSP? In each JSP file I can write <%@ page ... session=\"false\" %>

How can I configure tomcat to disable sessions in JSP? In each JSP file I can write

<%@ page ... session="false" %>

I think one configuration开发者_开发问答 have to be for all jsp files.


One way you need to do this is disabling session of the servlet container.

This implemenation of this would be container specific, but you can do this in Tomcat using The Manager Component

0

精彩评论

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