You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Andrew Miehs <an...@2sheds.de> on 2006/06/28 10:04:06 UTC
Stateless Tomcat Application
Dear List,
I have an simple application that I would like to have cached by a squid
server. My question is, is it possible to disable the Tomcat generating
JSESSIONIDs, as these requests are all stateless.
Thanks in advance,
Regards
Andrew
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Stateless Tomcat Application
Posted by Leon Rosenberg <ro...@googlemail.com>.
On 6/28/06, dirk ooms <di...@onesparrow.com> wrote:
> AFAIK there are 2 situations in which Tomcat creates a HttpSession (generating
> JSESSIONIDS) without an explicit call to request.getSession():
>
> - when the form-based login procedure is used
> - when jsp's are compiled, a session will automatically be created by the JSP
> engine (also for jsp's that have no security-constraint). if a session is not
> needed, this behaviour can be changed by including the line '<%@ page
> session="false"%>' in each jsp
- when req.getSession() or req.getSession(true) is called in the application.
>
> dirk
>
Leon
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Stateless Tomcat Application
Posted by dirk ooms <di...@onesparrow.com>.
AFAIK there are 2 situations in which Tomcat creates a HttpSession (generating
JSESSIONIDS) without an explicit call to request.getSession():
- when the form-based login procedure is used
- when jsp's are compiled, a session will automatically be created by the JSP
engine (also for jsp's that have no security-constraint). if a session is not
needed, this behaviour can be changed by including the line '<%@ page
session="false"%>' in each jsp
dirk
On Wednesday 28 June 2006 10:04, Andrew Miehs wrote:
> Dear List,
>
> I have an simple application that I would like to have cached by a squid
> server. My question is, is it possible to disable the Tomcat generating
> JSESSIONIDs, as these requests are all stateless.
>
>
> Thanks in advance,
>
> Regards
>
> Andrew
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org