RE: JSP Session setting

2001-03-06 Thread Juan Lorandi (Chile)

session-config tags in web.xml should do it...

HTH

JP

 -Original Message-
 From: Jim Carroll [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, March 06, 2001 12:44 PM
 To: Orion-Interest
 Subject: JSP Session setting
 
 
 I'm not sure if this is the correct place to ask this 
 question but is there
 a way to turn off the session tracking in the jsp compiling in orion?
 Currently, no matter how you set the session-tracking tag in the
 configuration, when jsps are compiled the following line are 
 ALWAYS there:
 
   HttpSession session;
   session = request.getSession(true);
 
 It seems that this will hinder performance in a clustered 
 environment where
 only some of the applications require sessions.
 
 Is there a way to turn this off at a page or application level?
 
 Thanks
 Jim
 
 




RE: JSP Session setting

2001-03-06 Thread Jim Carroll

Actually, Someone gave me the answer to this. Thanks. It's actually a page
directive I missed. I should have thought to look there.

Thanks anyway.
Jim

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Juan Lorandi
(Chile)
Sent: Tuesday, March 06, 2001 3:20 PM
To: Orion-Interest
Subject: RE: JSP Session setting


session-config tags in web.xml should do it...

HTH

JP

 -Original Message-
 From: Jim Carroll [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, March 06, 2001 12:44 PM
 To: Orion-Interest
 Subject: JSP Session setting


 I'm not sure if this is the correct place to ask this
 question but is there
 a way to turn off the session tracking in the jsp compiling in orion?
 Currently, no matter how you set the session-tracking tag in the
 configuration, when jsps are compiled the following line are
 ALWAYS there:

   HttpSession session;
   session = request.getSession(true);

 It seems that this will hinder performance in a clustered
 environment where
 only some of the applications require sessions.

 Is there a way to turn this off at a page or application level?

 Thanks
 Jim







Re: JSP Session setting

2001-03-06 Thread Jay Armstrong

Hi All,

Jim and I used to work together, so we had a reunion of sorts and solved
this between us.

For orion-interest, the up shot is that %@ page session="false" % needs
to be set in the JSP page (at first, I'd suggested looking at the
session-tracking element in the two orion-web.xml files for the default
web application and for Jim's web application, respectively).

Have fun! 

Jay Armstrong
[EMAIL PROTECTED]

At 10:43 AM 3/6/01 -0500, you wrote:
I'm not sure if this is the correct place to ask this question but is there
a way to turn off the session tracking in the jsp compiling in orion?
Currently, no matter how you set the session-tracking tag in the
configuration, when jsps are compiled the following line are ALWAYS there:

   HttpSession session;
   session = request.getSession(true);

It seems that this will hinder performance in a clustered environment where
only some of the applications require sessions.

Is there a way to turn this off at a page or application level?

Thanks
Jim








Re: JSP Session setting

2001-03-06 Thread SCOTT FARQUHAR

AFAIK the session object is implicit to the page, such as request, response etc.

It is part of the spec.

 [EMAIL PROTECTED] 03/07/01 01:43am 
I'm not sure if this is the correct place to ask this question but is there
a way to turn off the session tracking in the jsp compiling in orion?
Currently, no matter how you set the session-tracking tag in the
configuration, when jsps are compiled the following line are ALWAYS there:

HttpSession session;
session = request.getSession(true);

It seems that this will hinder performance in a clustered environment where
only some of the applications require sessions.

Is there a way to turn this off at a page or application level?

Thanks
Jim