• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Session Synchronisation

 
Moose Ranch
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have 2 web applications.
User will have the option to enter some details in the UI of first webapp and click on a button which redirects the request to the 2nd webapp.
In the second webapp user performs some operations and on click of complete in the second webapp, the user will be redirected to 1st webapp.
I require session synchronization between these 2 web applications and also the details entered by the user in the first webapp should get loaded after getting redirected from the second webapp.

I would like to know how this session synchronization could be achieved.
 
Wouter Oet
Saloon Keeper
Posts: 2700
IntelliJ IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What kind of application? What framework do you use? What kind of system? Does it run on one machine? Etc. Please TellTheDetails. It's certainly not Beginning Java but since you without details I've no clue where to move it to.
 
Moose Ranch
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Both webapplications use JavaServer Pages and Servlets. They use weblogic server in common.
Database should not be involved to store the session information.
Also Post and query string methods should not be used.

Hope I have answered your question. let me know if you need any more information.

 
Amit Ghorpade
Bartender
Posts: 2854
10
Fedora Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So both of them are hosted on the same machine, aren't they?
You can use randomly generated hidden form fields, but they are not the best alternative if security is a concern.
Alternatively you can pass encrypted user ids to and fro.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic