SAP Note 791765 - Mixed JSESSIONID Cookies from Different Servers

Component : Web Container, HTTP, JavaMail, Servlets -

Solution : https://service.sap.com/sap/support/notes/791765 (SAP Service marketplace login required)

Summary :
When multiple J2EE Application Servers within the same domain are accessed via the same browser, overlapping JSESSIONID cookies may occur, leading to issues such as lost user sessions or Web Dispatcher failing to find a destination server. This typically happens because cookies aren't confined to a specific host, due to a non-specific 'Domain' attribute setting in the cookie configurations. To resolve this, SAP recommends configuring cookies at each J2EE Engine to either remove the domain attribute or adjust the Path attribute, especially when a proxy is involved or servers exist in subdomains. Detailed steps for implementing these changes in different versions of the J2EE Engine are provided.

Key words :
config tool     /usr/sap/<sid>/<instance>/j2ee/configtool/configtool[, /usr/sap/<sid>/<instance>/j2ee/configtool/offlinecfgeditor[, 1<cookie-config>     <cookie>        <type>session</type>         <domain>, </domain>    </cookie>     <cookie>        <type>application</type>         <domain>, closing </web-j2ee-engine> tag insert, </domain>    </cookie></cookie-config>7, sap note 1144722 - global configuration, file web-j2ee-engine, multiple j2ee application servers, sap j2ee engine

Related Notes :

1144722Global configuration of session cookies and attributes
880482Central Note: Federated Portal Network (SAP NetWeaver 7.0)
802658J2EE Engine 6.40: HTTP session is not maintained/gets lost
612749How to change path and domain of SAP J2EE session cookies