You should be able to disable the session creation by setting the page
directive to specify sessions=false.
This tells the JSP engine that this page does not participage in a session.
By default, all JSP pages participate in a session.
See JSP 1.0 specification pg 42.
-Shawn
-----Original Message-----
From: Jean-Michel Leon <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Monday, August 09, 1999 1:51 PM
Subject: is JSP requiring sessions ?
>Hi,
>
>from the spec (1.0, p50), the session object seems to be created
>regardless of whether the app needs session support or not. It also
>seems to be the case with the default implementation (1.0-ea) (I traced
>this behavior through Apache/Jserv, and getSession() is called for any
>JSP page).
>
>This is an extremely annoying behavior, because it forbids the use of
>JSP for stateless apps: If I don't need session support, my customers
>should not have to accept cookies just because of implementation reasons
>in JSP.
>
>If I'm correct regarding this default behavior, I think this is a major
>flaw in JSP. I really really hope I am missing something, and that this
>behavior can be disabled. any idea ?
>
>
>jm.
>
>===========================================================================
>To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
>of the message "signoff JSP-INTEREST". For general help, send email to
>[EMAIL PROTECTED] and include in the body of the message "help".
>
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".