I'm using Portal 8.0 and I have a servlet that puts something in servlet context, and I recover that info on my JSF Portlet. The Portlet and the page are visible by annonymous users. Debuging my portlet behavior I realized that two different annonymous users accessing my portlet share the same servlet context, rather than having their own servlet context.
I wanna know i there's some kind of configuration or else that makes the annynymous users to have their own servlet context instead of sharing the same servlet context.
This topic has been locked.
1 reply Latest Post - 2013-02-10T18:34:11Z by SystemAdmin
Pinned topic Annonymous user sharing the same context
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2013-02-10T18:34:11Z at 2013-02-10T18:34:11Z by SystemAdmin
SystemAdmin 110000D4XK30897 PostsACCEPTED ANSWER
Re: Annonymous user sharing the same context2013-02-10T18:34:11Z in response to SystemAdminThere is not an issues, the behavior is correct.
There is one servlet context per "web application" per Java Virtual Machine.
Can I know your use case so that we can find better approach for storing/sharing objects?