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 21:09:30 GMT
Tomcat doesn't create sessions.  Web applications create sessions.  I.e.,
code says:

HttpSession session =
((HttpServletRequest)request).getSession({true|false}); // true for create
if not exist, false for don't create);

FWIW, Struts will create one for you, even if you don't need one.  This
caused me confusion once upon a time.

Tim

-----Original Message-----
From: David Durham [mailto:ddurham@vailsys.com] 
Sent: Tuesday, February 07, 2006 3:17 PM
To: users@tomcat.apache.org
Subject: turning off sessions

Anyway to configure a Tomcat 5.5 app to not create sessions through
META-INF/context.xml?  The closest thing I've found was the
maxInactiveInterval attribute of the manager element.  E.g.,

<Context path="/app">
	<manager maxInactiveInterval="6"/>
</Context>


But, even that doesn't work properly.  Anyone know what I need to do?

Thanks,

-Dave

---------------------------------------------------------------------
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