• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Devaka Cooray
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Martijn Verburg
  • Frits Walraven
  • Himai Minh

Session Synchronisation

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Bartender
Posts: 2700
IntelliJ IDE Opera
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.

 
Bartender
Posts: 2856
10
Firefox Browser Fedora Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Where all the women are strong, all the men are good looking and all the tiny ads are above average:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic