Hi, Is HttpSession an attribute of a container or for a webapplication ? If I forward the request from app to another app , with jsessionid , will i be able to see the login user ( which is a session attribute ) in the second app also.
You shouldnt be able to. The session was created for that application and that application only. You cant use the jsessionID for other applications since the container will not be able to associate with that session. Imagine if you could log into yahoo and be redirected to hotmail (and logged in automatically) just because you have a jsessionID allocated to the user. Yikes !
OK.I see your point . I am in the process of developing a SSO page where in a User logs in once and gets the menu . From that menu he can launch different applications . ( reports / UI / lookups) .They are in the same container but different Contexts . How do i achive this then ? Any ideas.