Re: disable session support in Tomcat

2003-06-23 Thread Mikael Blomqvist
Not specifically within Tomcat (since a lot of pages require it).
But you can stop your pages from forcing the creation of new sessions (and thereby if 
no pages request a session you wont have any sessions).

From JSP 1.2 spec chapter 2.10.1, table JSP2.1:

session 
Indicates that the page requires participation in an (http) session. If  true  then 
the implicit script language variable named  session  of type 
javax.servlet.http.HttpSession references the current/new session for the page. If  
false  then the page does not participate in a session; the  session  implicit 
variable is unavailable, and any reference to it within the body of the JSP page is 
illegal and shall result in a fatal translation error. Default is  true .

ie, do %@ page session=false % on all your pages to disable sessions.

/M


On Wed, 18 Jun 2003 19:52:06 +0200
Marco Pöhler [EMAIL PROTECTED] wrote:

 Hi,
 
 Is it possible to disable the session support (means no cookies and no 
 JSESSIONIDs) somewhere in Tomcat ? 
 This is may be a simply question, but I couldn't found any hint in the docs 
 and the list archive.
 
 Thanks in advance
 
 Marco
 
 P.S.: I'm using 4.1.12 on lInux



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: disable session support in Tomcat

2003-06-18 Thread Shapira, Yoav

Howdy,
The Servlet Specification requires container to support sessions.  So no, you can't 
disable it ;)  You can:

- Download the tomcat source and hack out the session-related items, rebuild it, and 
have your own session-less servlet container ;)

- Have very short session timeouts, e.g. 1 minute.

- Rethink why you want sessions disabled ;)

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Marco Pöhler [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 18, 2003 1:52 PM
To: [EMAIL PROTECTED]
Subject: disable session support in Tomcat

Hi,

Is it possible to disable the session support (means no cookies and no
JSESSIONIDs) somewhere in Tomcat ?
This is may be a simply question, but I couldn't found any hint in the docs
and the list archive.

Thanks in advance

Marco

P.S.: I'm using 4.1.12 on lInux

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: disable session support in Tomcat

2003-06-18 Thread Marco Pöhler
that was fast...

I think I should try it with session enabled, the other options are... 
ahm... too simple ;-)

Thank you, Yoav

Am Mittwoch, 18. Juni 2003 19:53 schrieb Shapira, Yoav:
 Howdy,
 The Servlet Specification requires container to support sessions.  So no,
 you can't disable it ;)  You can:

 - Download the tomcat source and hack out the session-related items,
 rebuild it, and have your own session-less servlet container ;)

 - Have very short session timeouts, e.g. 1 minute.

 - Rethink why you want sessions disabled ;)

 Yoav Shapira
 Millennium ChemInformatics

 -Original Message-

 From: Marco Pöhler [mailto:[EMAIL PROTECTED]

 Sent: Wednesday, June 18, 2003 1:52 PM
 To: [EMAIL PROTECTED]
 Subject: disable session support in Tomcat
 
 Hi,
 
 Is it possible to disable the session support (means no cookies and no
 JSESSIONIDs) somewhere in Tomcat ?
 This is may be a simply question, but I couldn't found any hint in the
  docs and the list archive.
 
 Thanks in advance
 
 Marco
 
 P.S.: I'm using 4.1.12 on lInux
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

 This e-mail, including any attachments, is a confidential business
 communication, and may contain information that is confidential,
 proprietary and/or privileged.  This e-mail is intended only for the
 individual(s) to whom it is addressed, and may not be saved, copied,
 printed, disclosed or used by anyone else.  If you are not the(an) intended
 recipient, please immediately delete this e-mail from your computer system
 and notify the sender.  Thank you.


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: disable session support in Tomcat

2003-06-18 Thread Ben Souther
Just out of curiosity, why?




On Wednesday 18 June 2003 01:52 pm, Marco Pöhler wrote:
 Hi,

 Is it possible to disable the session support (means no cookies and no
 JSESSIONIDs) somewhere in Tomcat ?
 This is may be a simply question, but I couldn't found any hint in the docs
 and the list archive.

 Thanks in advance

 Marco

 P.S.: I'm using 4.1.12 on lInux

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

-- 
Ben Souther
F.W. Davison  Company, Inc.



REGISTER NOW FOR THE SCORPEO USER CONFERENCE!
September 18-19, 2003 in Boston/Brookline, MA
Additional Training Sessions held September 17, 2003
More info  http://www.fwdco.com/services/Uconf03/default.shtm


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]