session sharing across webapps

2003-12-08 Thread Kumar, Sumit
Sorry, I posted the message earlier with a wrong subject.

Is it possible to put an object in session of another webapp, like I am in
context of webapp1 and I want to put an UserInfo object in session of
webapp2. Can I even access session of webapp2 from webapp1. Both are
deployed under Tomcat4.1.

Thanks
-sumit
-Original Message-
From: Kumar, Sumit 
Sent: Monday, December 08, 2003 2:39 PM
To: 'Tomcat Users List'; [EMAIL PROTECTED]
Subject: RE: Ant install tasks


Hello,

Is it possible to put an object in session of another webapp, like I am in
context of webapp1 and I want to put an UserInfo object in session of
webapp2. Can I even access session of webapp2 from webapp1. Both are
deployed under Tomcat4.1.

Thanks
-sumit

-
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: session sharing across webapps

2003-12-08 Thread Shapira, Yoav

Howdy,
The short answer is you can't access another webapp's sessions, period.
But you can have a singleton you write live in shared/lib and both
webapps will see the same instance of the singleton.

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Kumar, Sumit [mailto:[EMAIL PROTECTED]
Sent: Monday, December 08, 2003 3:42 PM
To: 'Tomcat Users List'
Subject: session sharing across webapps

Sorry, I posted the message earlier with a wrong subject.

Is it possible to put an object in session of another webapp, like I am
in
context of webapp1 and I want to put an UserInfo object in session of
webapp2. Can I even access session of webapp2 from webapp1. Both are
deployed under Tomcat4.1.

Thanks
-sumit
-Original Message-
From: Kumar, Sumit
Sent: Monday, December 08, 2003 2:39 PM
To: 'Tomcat Users List'; [EMAIL PROTECTED]
Subject: RE: Ant install tasks


Hello,

Is it possible to put an object in session of another webapp, like I am
in
context of webapp1 and I want to put an UserInfo object in session of
webapp2. Can I even access session of webapp2 from webapp1. Both are
deployed under Tomcat4.1.

Thanks
-sumit

-
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]




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]