<context-param> <param-name>org.jboss.portletbridge.SESSION_ID_PARAMETER_NAME</param-name> <param-value>mysessionparameter</param-value> </context-param>
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>