• 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 ...
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

How to open an application from some other server

Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
My server has to open an application in another server and continue that session. i.e. when click for to open the application it has to open the session.
But while sending request to open the application i also need to send an custom http header with the url.
How can i achive this?

I tried with AJAX xmlhttp object and open the url and sent the header. The application get the header and returned the response. But didn't get how to continue the opened session.
Please help.
Ranch Hand
Posts: 147
Eclipse IDE Tomcat Server Debian
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In the HTTP Cookie environment, you can set the the Domain so that the cookie is passed to any host within that domain. However, I do not know that you can do the same for the HttpSession object.

If you need to pass data between servers, you may need to look at other forms of persistence rather than HttpSession. If it is a small amount of non-sensitive data, you might consider rolling your own Cookie object to hold the data. If it's a lot of data, or it's data that must remain secure, I would look towards another form of persistence, such as a database.
pie. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic