• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to keep a session on several servers

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi everybody
Could anyboy tell me how to keep
a session created on a previous server and
maintained on any other server?
I heard something about cascading sessions
 
Sheriff
Posts: 4313
Android IntelliJ IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This sounds application server specific, which server are you using?
 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I have also posted a query something similar to this. So please let me know in case if you find answer for your question. We are using Websphere application server and Jserv as webserver.
I will also let you know in case if i come to know any answer.
Thanks
Best Regards
Aruna G
 
Ranch Hand
Posts: 287
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Im pretty sure sessions, like cookies are server specific. I really dont think its possible to save them across different domains. This drops into the realm of security problems & if Im not mistaken this type of session behaviour isnt allowed due to the fact that if you could do it people would be trying to grab user info from other sites constantly.
 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The servlet2.2/3 spec does not define support for distributed sessions. It is definitely server specific at best. So don't expect your webapp to be portable. There are various articles out there describing tactics to realize this requirement. One on javaworld a while back was entitled "Distributed Sessions" and the method behhind it was using RMI to synch all of the sessions.
In short, there are no nice simple solutions, yet.
reply
    Bookmark Topic Watch Topic
  • New Topic