|
Problem(Abstract) |
Describes a problem with the encodeUrl and
encodeRedirectUrl methods when NOT using JSESSIONID as a
cookie name. |
|
|
|
Cause |
SessionManager will not look for a session cookie name
when building a URL for the encodeUrl method call. When using URL
rewriting and cookies with a modified cookie name, the session information
encoded in the URL is not consistent with the session cookie. |
|
|
Resolving the
problem |
To resolve this problem, follow these steps to configure
WebSphere® Application Server to specify a rewrite identifier for the
session manager:
- Open the administrative console,
- Select Servers > Application Servers >
Server_Name > Web Container Settings >
WebContainer > Custom Properties > New.
- Add a new Custom Property for the JVM to reuse the sessionId:
System Property Name:
SessionRewriteIdentifier
System Property Value:
NewValue
- Save these changes and restart the Application Server.
|
|
|
|
|
Cross Reference information |
Segment |
Product |
Component |
Platform |
Version |
Edition |
Application Servers |
Runtimes for Java Technology |
Java SDK |
|
|
|
|
|
|