Enabling URL rewriting or cookies on a WebSphere Application Server v5.x

When you are testing or publishing a Web project to a WebSphere Application Server v5.x, you can use session management to enable URL rewriting or cookies.

In certain cases, clients cannot accept cookies. Therefore, you cannot use cookies as a session tracking mechanism. Applications can use URL rewriting as a substitute.

To enable URL rewriting or cookies on a WebSphere Application Server v5.x:

  1. In the Servers view, double-click your WebSphere Application Server v5.x test environment or server. The server editor opens.

  2. Click the Web tab at the bottom of the editor.

  3. In the Server settings section, select the Enable URL rewriting check box. If URL rewriting is enabled, session tracking uses rewritten URLs to carry the session IDs.

  4. To enable cookies, select the Enable cookies check box. If cookies are enabled, session tracking recognizes session IDs that arrive as cookies and tries to use cookies for sending session IDs

  5. Save your changes and close the editor.

 

Parent topic

Configuring WebSphere Application Server v5.x