• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Session gets destroyed when invoking application of another server in a same browser

 
Sunil Chavan
Greenhorn
Posts: 28
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

When i am trying to invoke application of another application server from the same browser my existing session gets destroyed. How can i retain my existing session?

Thanks

Sunil Chavan.
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't see how that's possible, unless you're exceeding the session timeout, have a periodic update to make sure you're in the same app, or something. That'd be like saying you're logged in to gmail, go to cnn, and come back and your gmail session is gone.

Could you provide more information?
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 33716
316
Eclipse IDE Java VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sunil,
Are the applications on the same domain? For example faq.javaranch.com vs mine.javaranch.com? If so, they could be using the same path for the cookie. This happened to us - application 2 was overwriting the cookie of application 1 effectively disconnecting the session of application 1 from the user.
 
Sunil Chavan
Greenhorn
Posts: 28
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Jeanne & David,

Thanks for your quick reply.

Could you provide more information?


I have two applications on one application server but two different manage servers.

In my first (parent) application i have frame where i display pages from my second application.

So after invoking second application if i want to continue working on pages of first application it gives me session null error.

I hope this will give you guys fair idea of my application environment. If still more information required then let me know.

Thanks for your help so far.

Sunil Chavan
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic