• 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:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

sharing session information across different applications

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi list,
We are developing a web application component that is intended to be used by other client web applications through runtime interaction - URL redirection. What are the options we have if we want to keep the client applications' HTTP sessions alive while users are redirected to our application temporarily

Is it possible to for the component application to retain the session id of the client application and hand it over upon transferring the control to the client application

Is it possible for the client application, upon taking control, to restore its http session based on the session id?

There should be something better than relying on an external database, shared files, posting requests between servlets, etc. All of these strike me as some combination of slow, fragile, or just overly complicated.
 
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Saurabh,

This can be achieved transparently (i.e. NO code change necessary) by using Coherence*Web, an HTTP Session management module built ontop of Coherence. You can share session state across applications and even across heterogeneous application servers, in a cluster.
 
WHAT is your favorite color? Blue, no yellow, ahhhhhhh! Tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic