Topic
  • 1 reply
  • Latest Post - ‏2013-02-10T18:34:11Z by SystemAdmin
SystemAdmin
SystemAdmin
30895 Posts

Pinned topic Annonymous user sharing the same context

‏2013-02-07T22:03:29Z |
Hi,

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.
Updated on 2013-02-10T18:34:11Z at 2013-02-10T18:34:11Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    30895 Posts

    Re: Annonymous user sharing the same context

    ‏2013-02-10T18:34:11Z  
    There 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?

    Many Thanks
    <Neeraj Sidhaye>
    Extreme Portal