| Author |
sessions and migration
|
Peter Warde
Ranch Hand
Joined: Aug 18, 2004
Posts: 71
|
|
I'm a little confused about sessions and migration. The spec says that a session can migrate from one JVM to another, but the spec also says that a session cannot migrate from one context to another context within the same container ie when using requestDispatcher to forward to another a servlet in another container. Is this right and can anybody bring any further clarity to it. Thanks Peter
|
 |
Kejal Shah
Ranch Hand
Joined: Jun 27, 2003
Posts: 87
|
|
Hi Peter, I believe the first thing points to distributed application, in which case the session CAN migrate between different JVMs. The 2nd argument, points to 2 different web applications, in which case the session CANNOT migrate. HTH
|
Kejal<br />SaneDevil@gmail.com
|
 |
Peter Warde
Ranch Hand
Joined: Aug 18, 2004
Posts: 71
|
|
|
Thanks - I'm clear now
|
 |
Gavin Zhao
Greenhorn
Joined: Apr 29, 2004
Posts: 11
|
|
|
Kejal Shah is right!
|
Impossible Is Nothing!
|
 |
 |
|
|
subject: sessions and migration
|
|
|