Title: RE: Session Sharing Again

TO follow this up ... how are u all handling it when everything is on the one server.

I have one app to log the user in ... and I want the user after logged in to be able to have access to all the other apps on there??? And I need access to certain user information to allow that.

U mention using the JNDI .... however if I do it that way the information won't be specific to users? Will it??? Although I guess i could just make new entries that are. And then use cookies to determine who should get access to it. But man that sucks its much easier with session variables imho.

Any thoughts to the way u all do it?

-Joseph


-----Original Message-----
From: Rafael Alvarez [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 08, 2001 2:15 PM
To: Orion-Interest
Subject: Re: Session Sharing Again


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,
 Rafael                            mailto:[EMAIL PROTECTED]


Reply via email to