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:[EMAIL PROTECTED] 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to