Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I share Portlet and HTTP Session without the use of Application scope?

0
Posted

How do I share Portlet and HTTP Session without the use of Application scope?

0

Under JSR168 standard, session sharing between portlets and servlets are difficult at best. Wait until Portal supports JSR286. As per the article below, shared session across Web applications will be in the standard: Comment lines: Stefan Hepper: Why you should take an early look at the Java Portlet Specification V2.0 ==================================================================== # Shared session attributes — for sharing session data beyond the current Web application. JSR 286 provides the shared session attributes that can be shared across Web applications. In the portlet.xml file, you can define the attributesthat are shareable declaratively, and then use the existing portlet session APIs and the application session scope to share this attribute across Web applications.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123