If your talking about Servlet 2.2 context, you can not track sessions across
separate web-app contexts. Each web-app gets its own context that all
servlets, jsps, etc share. I think the only way you can share information
across many contexts is using jndi, which I think is a global JVM context.
But that I am not sure of.


> -----Original Message-----
> From: hua ge [mailto:[EMAIL PROTECTED]]
> Sent: Friday, September 08, 2000 11:05 AM
> To: [EMAIL PROTECTED]
> Subject: is HttpSession only good in one servlet context???
>
>
> Hi,
> I have couple servlet context mapped in the web server.
> in servlet 1(in context 1) I stored some object in the
> session, then servlet
> 2(in context 2) will reference the object stored in the session object
> created in context1.
>
> I could not get the data out from session object because I am crossing
> different context.
>
>
> how can I do session tracking crossing multiple context?
> ______________________________________________________________
> ___________
> Get Your Private, Free E-mail from MSN Hotmail at
http://www.hotmail.com.

Share information about yourself, create your own public profile at
http://profiles.msn.com.

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to