ssion id's are created randomly. Container creates one 'session id' for one domain and another 'session id' for another domain.
That's what I thought. The confusion thing is that
When I run servlet on localhost I got a session A
Then I run servlet on localhost:8080 I got a new session B
Then I go back to run servlet on localhost I got a new session C! (session A disappeared!)
Then I go back to run servlet on localhost:8080 I got a new session D! session B disappeared!)
Basically when I go to one of the URLs the session Id in another Url is invalidated.
BJ - SCJP and SCWCD
We love Java programming. It is contagious, very cool, and lot of fun. - Peter Coad, Java Design
Crazy Bikes created by m-Power