tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Lucia" <timlu...@yahoo.com>
Subject RE: turning off sessions
Date Tue, 07 Feb 2006 22:08:23 GMT
Thanks!  Now I do remember seeing this.  Been a long time since I have
created a stateless application, I guess ;-)

-----Original Message-----
From: Ed [mailto:6b27b7t174f180t@jetable.org] 
Sent: Tuesday, February 07, 2006 6:15 PM
To: users@tomcat.apache.org
Subject: RE: turning off sessions

Yep, JSPs automatically create sessions (part of the JSP spec certainly).

To turn session off
put <%@ page session="false" %> in your JSP.

Beware, that web frameworks such as struts may also create sessions for
other purposes (eg, storing the locale).
you may also turn this off

Hope it helps


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message