• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Sharing Session Between Different Web apps

 
Praful Thakare
Ranch Hand
Posts: 643
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,

What are the different ways to Share session data between two different web applications?

I have a requirement to log in to one web application and clicking on link my browser will display screens of different web apps and at same time I have to transfer all the data in current session.

kindly let me know the possible solutions for this.

cheers
-Praful
 
ankur rathi
Ranch Hand
Posts: 3830
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you want to share anything between two different web applications, then you will have to use something which is not specific to any particular web application for example you can use DB or XML files for it.
 
Praful Thakare
Ranch Hand
Posts: 643
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Rathi,

Thanks much for your reply,that is sure one of the option,but I was thinking something like..
1 Login Thur webabp1
2 populating session
3 Clicking of Link to connect to webapp2
4 Invoking servlet in webapp1
5 Connecting to webapp2
6 transfer session data
7 display output from webapp1

I am about to try this option with HttpURLConnection,not sure if i can transfer objects using this method,if any one is aware of it kindly let me know.

-Praful
 
Praful Thakare
Ranch Hand
Posts: 643
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Incase some one wants to do this in future I used Http tunneling for the same

Cheers
-Praful
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic