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

inconistent session time-out,cookie name change is not a option  RSS feed

premchand chand
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Ranchers,

I had 2 applications with same cookie name 'JSESSIONID' running on 2 different nodes of a Websphere Application Sever 6.1,my applications are not compatible for a change cookie name.Is there a way I can resolve.
Both app1 and app2 has same cookie name and running on same domain,so the browser is not able to differentiate between the cookies I reckon,session time out happens only sometimes the behaviour is not consistent.
Both my applications needs a separate login and are accessed from different browser windows using https.The way access the applications
eg :

After googling I found the below possible approaches,
1)Change the cookie name(Which I can't)
2)Changing the path name at cookie level for both my applications

I don't know whether I can apply the same to my scenario.In case if I can apply this do I need create a custom property HttpSessionIdReuse at both the server nodes.
In this case does the session object contains the data set by both the applications.Can anyone through some light how this works or is there any better solution to this problem.

thanks in advance
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!