...even if a servlet uses the RequestDispatcher to call a servlet in another web application, any sessions created for and visible to the callee servlet must be different from those visible tothe calling servlet..
, my impression about sessions is " For requests from same client, For every different webapp , Web-container will maintain different HttpSession Objects" I tried writing Attributes to Session from one web-app , and tried reading them in other web-app ( with cookies enabled / disabled both , just to certain ) , and this confirms my view . So is it actually the way i stated ? plz confirm it
------------------ Gagan (/^_^\) SCJP2 Die-hard JavaMonk -- little Java a day , keeps u going .
Gagan (/^_^\) SCJP2 SCWCD IBM486 <br />Die-hard JavaMonk -- little Java a day, keeps you going.<br /><a href="http://www.objectfirst.com/blog" target="_blank" rel="nofollow">My Blog</a>
Peter den Haan
posted 15 years ago
Confirmed, although I should add that many servers actually allow you to share sessions across web-apps using a configuration option. - Peter
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads