RE: Sessions across contexts, is it possible?

2002-01-11 Thread Chad Johnson
Great, thanks for the insight. The persistance layer sounds most pleasing. -Chad On Fri, 11 Jan 2002, Craig R. McClanahan wrote: > No, virtual hosts are considered (by the servlet API) to be totally > independent. > > If you want to delve into container-specific behavior, classes that are >

RE: Sessions across contexts, is it possible?

2002-01-11 Thread Craig R. McClanahan
On Fri, 11 Jan 2002, Chad Johnson wrote: > Date: Fri, 11 Jan 2002 22:04:37 -0600 (CST) > From: Chad Johnson <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: RE: Sessions across

RE: Sessions across contexts, is it possible?

2002-01-11 Thread Chad Johnson
Hey, What if we change the scenario a little bit. Is is possible to share objects between contexts that reside in differant blocks? getContext() does not seem to work in that scenario. -Chad Johnson On Fri, 11 Jan 2002, Craig R. McClanahan wrote: > Containers are not required to let you ca

RE: Sessions across contexts, is it possible?

2002-01-11 Thread Craig R. McClanahan
On Fri, 11 Jan 2002, Brandon Cruz wrote: > Date: Fri, 11 Jan 2002 18:07:00 -0600 > From: Brandon Cruz <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: RE: Sessions across contexts, is

RE: Sessions across contexts, is it possible?

2002-01-11 Thread Craig R. McClanahan
On Fri, 11 Jan 2002 [EMAIL PROTECTED] wrote: > Date: Fri, 11 Jan 2002 18:17:01 -0600 > From: [EMAIL PROTECTED] > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: RE: Sessions across contexts, is it possible? > > My valve subclasses

RE: Sessions across contexts, is it possible?

2002-01-11 Thread jerry . fang
to identify session yet? I don't quite understand the problem. Thanks! -Jerry -Original Message- From: Brandon Cruz [mailto:[EMAIL PROTECTED]] Sent: Friday, January 11, 2002 6:07 PM To: Tomcat Users List Subject: RE: Sessions across contexts, is it possible? This seems to be bre

RE: Sessions across contexts, is it possible?

2002-01-11 Thread Brandon Cruz
List Subject: RE: Sessions across contexts, is it possible? At 04:21 PM 01/11/2002 -0600, you wrote: If you have your context's set to crossContext="true", you can receive the request in one context, set a request attribute with the value (setAttribute("otherContextPath

RE: Sessions across contexts, is it possible?

2002-01-11 Thread Mario Felarca
At 04:21 PM 01/11/2002 -0600, you wrote: If you have your context's set to crossContext="true", you can receive the request in one context, set a request attribute with the value (setAttribute("otherContextPath", getServletContext().getRealPath("")), and then forward the request to the other c

Re: Sessions across contexts, is it possible?

2002-01-11 Thread Matt Egyhazy
heh, duh, i replied to your second message, didnt see the first one, sorry. - Original Message - From: "Matt Egyhazy" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Friday, January 11, 2002 6:28 PM Subject: Re: Sessions across cont

Re: Sessions across contexts, is it possible?

2002-01-11 Thread Matt Egyhazy
; <[EMAIL PROTECTED]> Sent: Friday, January 11, 2002 5:21 PM Subject: RE: Sessions across contexts, is it possible? > I want to pass servletContext.getRealPath("") over to another context. I > don't want to have to do this with http parameters because of security > r

RE: Sessions across contexts, is it possible?

2002-01-11 Thread Brandon Cruz
I want to pass servletContext.getRealPath("") over to another context. I don't want to have to do this with http parameters because of security reasons. Am I out of luck, or is there a way? Thanks in advance for any help! -Original Message- From: Brandon Cruz [mailto:[EMAIL PROTECTED]]