Changing the name of the session cookie IDAdded by IBM on February 11, 2013 | Version 1 (Original)
|The session cookie ID for IBM® Connections is named JSESSIONID by default. Other products hosted by the WebSphere® Application Server often use the same name for their session cookie. If IBM HTTP Server is hosting multiple web servers, you might want to change the cookie name of one of them to prevent the cookie from being lost when the user is redirected from one product to another.
Parent topic: System maintenance
- If multiple products are hosted on the IBM WebSphere Application Server cell, by default the other application and WebSphere Application Server servers will have conflicting use of the JSESSIONID session ID cookie. For each WebSphere Application Server that uses the same virtual host (hostname) as the one that hosts Lotus® Connections applications, do the following:
- In the WebSphere Application Server Integrated Solutions Console, expand Servers in the navigation pane, and then select Server Types -> WebSphere application servers.
- Click the first clustered server.
- Expand Web Container Settings under Container Settings, and then select Web container.
- Under Additional Properties, click Session management.
- Select Enable cookies.
- Enter a different cookie name in the Cookie name field, for example, LCSESSIONID.
- Click OK, click Save, and then click Save again.
- Repeat with each clustered server.
- Restart the WebSphere Application Server or servers.
- Regenerate the plugin-cfg.xml file for the IBM HTTP Server in the WebSphere Application Server Integrated Solutions Console. To do so, complete the following steps:
- Open the WebSphere Application Server Integrated Solutions Console.
- Expand Servers, and then select Server Types -> Web servers.
- Select the check box next to the IBM HTTP Server name. For example: webserver1.
- Click Generate Plug-in to regenerate the plugin-cfg.xml file.
- If necessary, click Propagate Plug-in to copy the plugin-cfg.xml file from the local directory where the Application Server is installed to the remote machine.
- Restart the IBM HTTP Server.