JBoss Community Archive (Read Only)

Portlet Bridge 3.3

Setting Session Id Parameter when Cookies are Disabled

To correctly generate portlet URLs when cookies are disabled by a browser, it is necessary to remove the Session ID parameter name from the URL to accurately determine which Faces view a URL should be directed at.

By default it assumes the parameter name is jsessionid, but this can be overridden by setting the following context param in web.xml:

<context-param>
  <param-name>org.jboss.portletbridge.SESSION_ID_PARAMETER_NAME</param-name>
  <param-value>mysessionparameter</param-value>
</context-param>
JBoss.org Content Archive (Read Only), exported from JBoss Community Documentation Editor at 2020-03-11 12:28:52 UTC, last content change 2013-09-25 16:05:08 UTC.