gall
gall

Reputation: 11

Disable sessions in Tomcat 6 for JSP

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.

Upvotes: 1

Views: 2345

Answers (1)

Sandeep Jindal
Sandeep Jindal

Reputation: 15318

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

Upvotes: 1

Related Questions