ControllerContext get PortletSession ID

Viewpoint
Teradata Employee

ControllerContext get PortletSession ID

Hello,

how can I get over the ControllerContext the Portlet Session ID?

2 REPLIES
Teradata Employee

Re: ControllerContext get PortletSession ID

ok i have it

ControllerContext ctx ... 

RenderRequest render = (RenderRequest) ctx.getNativeRequest();
     
      render.getPortletSession();
Teradata Employee

Re: ControllerContext get PortletSession ID

Hello again,

if I have two of the same portlets on one site I get same Portlet Session ID. Why?