• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

session migration

 
devika cha
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In HFSJ book pg 255 it says at anytime same session id for web app will NEVER appearin2 VM's at same time ,or the sessions are not duplicated.

but on pg256-257 the migration action shows the same id on the two different VM's

can anybody explain?
 
Eshu San
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It means that the session IDs exist either in one of the two JVM's(if the application is distributed) at a given point of time.They can never exist in 2 JVMs at the same time.This also implies that there can be only one session with a given session id and no duplicates can ever be made from session objects.
 
devika cha
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
so on the second VM after the migration does the session change or remains the same , as shown in the diagrams in the book
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic