This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Overriden jsessionid  RSS feed

 
Cristian Popovici
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Folks,

I need some help here...
I have two instances of tomcat running the same application
ex: localhost:8080/myapp and localhost:8081/myapp

I log on the first server and then I go to the other server, in this time the jsessionid that was set in my browser from the first server gets overriden by the jsessionid from the second server so when i go on the first node I'm logged out.

Any idea what can I do so I don't lost my session on the first node?

Thanks and have a nice day,

Cristian.
 
Joe Harry
Ranch Hand
Posts: 10128
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think you have to passivate and activate your session when you switch between your clusters.
 
Cristian Popovici
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Jothi,

Thanks for the fast reply. Can you be more specific please?

Thanks,
Cristian
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!