Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2004-10-26
4
Medium Priority
?
188 Views
Last Modified: 2010-03-31
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
0
Comment
Question by:vincehon
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 86

Expert Comment

by:CEHJ
ID: 12412076
0
 
LVL 8

Accepted Solution

by:
kiranhk earned 1000 total points
ID: 12412166
0
 
LVL 13

Expert Comment

by:petmagdy
ID: 12412246
What application Server r u going to use?
0
 

Author Comment

by:vincehon
ID: 12430518
Thx for all replies

JBoss 3.2.5
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
Suggested Courses

618 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question