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:
- In the Servers view, double-click your WebSphere Application Server v5.x test environment or server. The server editor opens.
- Click the Web tab at the bottom of the editor.
- 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.
- 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
- Save your changes and close the editor.
Parent topic
Configuring WebSphere Application Server v5.x