session is not created at
all for that page and hence saving the session object instantiation.
Razi
From: "Allistair Crossley" <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Su
ECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Subject: RE: Myth or Best practice : <%@ page session="false" %>
Date: Wed, 15 Dec 2004 14:53:04 -
In terms of Jasper, Tomcat's JSP engine, it appears that a HttpSession is
set to null if session=&quo
You can look in the code of the generated servlet to see what the
differences are when using either true or false with the session
directive.
>>> [EMAIL PROTECTED] 12/15/2004 8:17:55 AM >>>
<%@ page session="false" %>
Hello people
I wanted to enquire from the experts about something that I had r
<%@ page session="false" %>
Hello people
I wanted to enquire from the experts about something that I had read.
Is it true that inculuding the above directive in a jsp will prevent the
session object from being
created for that jsp, hence avoiding the creation of unnecessary objects??
Or Is it jus
December 2004 14:18
> To: [EMAIL PROTECTED]
> Subject: Myth or Best practice : <%@ page session="false" %>
>
>
> <%@ page session="false" %>
>
> Hello people
>
> I wanted to enquire from the experts about something that I had read.
>
Yes. By default, a session variable is implicitly created for every JSP. The
session variable is then initialized with the exsiting session or creates a
new session if needed.
This behavior is disabled via <%@ page session="false" %>.
But you are still allowed to code in your JSP:
<% HttpSession
.
Ta
Matt
-Original Message-
From: Razi Ansari [mailto:[EMAIL PROTECTED]
Sent: 15 December 2004 14:18
To: [EMAIL PROTECTED]
Subject: Myth or Best practice : <%@ page session="false" %>
<%@ page session="false" %>
Hello people
I wanted to enquire from