Re: Myth or Best practice : <%@ page session="false" %>

2004-12-16 Thread Tim Funk
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

RE: Myth or Best practice : <%@ page session="false" %>

2004-12-15 Thread Razi Ansari
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

Re: Myth or Best practice : <%@ page session="false" %>

2004-12-15 Thread David Boyer
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

Myth or Best practice : <%@ page session="false" %>

2004-12-15 Thread Razi Ansari
<%@ 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

RE: Myth or Best practice : <%@ page session="false" %>

2004-12-15 Thread Allistair Crossley
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. >

Re: Myth or Best practice : <%@ page session="false" %>

2004-12-15 Thread Tim Funk
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

RE: Myth or Best practice : <%@ page session="false" %>

2004-12-15 Thread Dale, Matt
. 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