IBM


10.4.1 Choosing a session tracking mechanism

WebSphere supports three approaches to tracking sessions:

SSL session identifiers

Cookies

URL rewriting

It is possible to select all three options for a Web application. If you do this:

SSL session identifiers are used in preference to cookie and URL rewriting.

Cookies are used in preference to URL rewriting.

If SSL session ID tracking is selected, we recommend that you also select cookies or URL rewriting so that session affinity can be maintained. The cookie or rewritten URL contains session affinity information enabling the Web server to properly route a session back to the same server for each request.

To set or change the session mechanism type...

1. Open the session management properties for the appserver, enterprise application, or Web module.

2. Select the session tracking mechanism that you require.

Figure 10-2 Selecting a session tracking mechanism window

3. Click OK.

4. Save and synchronize the configuration changes.

5. Restart the appserver or the cluster.


Redbooks ibm.com/redbooks

Next