Session Sharing Again

2001-08-08 Thread Nusairat, Joseph F.
Title: Session Sharing Again





OK  to not beat a dead horse or anything  cause i have read through the previous emails to try and solve hte problem

BUT ... i baiscally have an EJB App on there that sets sup session variables
Then I have some jsps and servlets on the regular default site that need to read those session variables.


In my default-web-site.xml I have this:


default-web-app application=default name=defaultWebApp shared=true load-on-startup=true / 


AND


web-app application=scope-users name=scope-users-web shared=true root=/scope-users load-on-startup=false max-inactivity-time=no shutdown / 


Is there anything else I need to do


Please help :)





Re: Session Sharing Again

2001-08-08 Thread Rafael Alvarez

Hello Joseph,
As stated in an obscure mail long time ago (I coundn't find it in my
folder ;) ) you can share sessions only between multiple instances of
the same app, no between apps.

If you need a central repository for info that needs to be accessed by
multiple apps, JNDI is a good idea.

Wednesday, August 08, 2001, 11:14:47 AM, you wrote:

NJF OK  to not beat a dead horse or anything  cause i have read through
NJF the previous emails to try and solve hte problem

NJF BUT ... i baiscally have an EJB App on there that sets sup session variables
NJF Then I have some jsps and servlets on the regular default site that need to
NJF read those session variables.

NJF In my default-web-site.xml I have this:

NJF default-web-app application=default name=defaultWebApp shared=true
NJF load-on-startup=true / 

NJF AND

NJF web-app application=scope-users name=scope-users-web shared=true
NJF root=/scope-users load-on-startup=false max-inactivity-time=no
shutdown / 
-- 
Best regards,
 Rafaelmailto:[EMAIL PROTECTED]