Link to home
Start Free TrialLog in
Avatar of vincehon
vincehon

asked on

2 webapps. How can a User login ONCE can access both webapps.

I have 2 webapps. appA and appB.

Usually:
1. User login via appA
2. appA put a object in the session for tracking and to determine whether the user has login or not.
3. After login, user can view pages in appA

Now I add a new app -- appB.
I want the user login in appA can also access resource in appB. i.e. user login once can access both apps. How can I do that ? I have searched some info about session sharing across Applications, but it seems dosn't work.

my appA archecture is a *.ear file contains:
- appA.war ( using struts framework)
- appA.jar ( using EJB as the business layer)

Thanks
Vince
Avatar of CEHJ
CEHJ
Flag of United Kingdom of Great Britain and Northern Ireland image

ASKER CERTIFIED SOLUTION
Avatar of kiranhk
kiranhk

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
What application Server r u going to use?
Avatar of vincehon
vincehon

ASKER

Thx for all replies

JBoss 3.2.5