Re: Is there any way to avoid session being created

2007-06-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Al, Fogleson, Allen wrote: > -Original Message- > From: Christopher Schultz [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 28, 2007 10:48 AM > To: Struts Users Mailing List > Subject: Re: Is there any way to avoid sessio

RE: Is there any way to avoid session being created

2007-06-28 Thread Fogleson, Allen
-Original Message- From: Christopher Schultz [mailto:[EMAIL PROTECTED] Sent: Thursday, June 28, 2007 10:48 AM To: Struts Users Mailing List Subject: Re: Is there any way to avoid session being created Fogleson, Allen wrote: > I assume you are using JSP? If so... well no there is

Re: Is there any way to avoid session being created

2007-06-28 Thread Paul Benedict
JSP has a directive to prevent automatic session creation. <%@ page *session*="false"> On 6/28/07, Fogleson, Allen <[EMAIL PROTECTED]> wrote: I assume you are using JSP? If so... well no there is not. JSP by default has a contract that a session is always available to it. Since it is always av

Re: Is there any way to avoid session being created

2007-06-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Allen, Fogleson, Allen wrote: > I assume you are using JSP? If so... well no there is not. JSP by > default has a contract that a session is always available to it. Boy, is that statement false: <@page session="false" @> Something else the OP migh

RE: Is there any way to avoid session being created

2007-06-28 Thread Fogleson, Allen
I assume you are using JSP? If so... well no there is not. JSP by default has a contract that a session is always available to it. Since it is always available an HTTPSession is always created if one is not available. We have gotten around this by having a session listener and cleaning up a session