Enabling or disabling URL rewriting for session management
Deprecated: Using URL rewriting for session management was deprecated in HCL Commerce
Version 9.1.
Recommended action: Use cookie-based session management.
Modify the wc-server.xml file to specify how sessions should be managed.
Procedure
- Open the configuration file.
-
Locate the
<SessionManagement>
<url-rewriting>
element.Set the value of the enabled attribute totrue
orfalse
depending on if you want to enable or disable URL rewriting. For example:<url-rewriting display="false" enabled="true"/>
- Save and close the file.
What to do next
For more information, see Configuring session tracking.