About this task
To set the restrictive cookie path in Oracle WebLogic, complete the following
steps:
Procedure
- Extract the
weblogic.xml
file
from the war package where you want to add the restrictive cookie
path.
- Copy the extracted
weblogic.xml
file
to the following location:
<INSTALL_DIR>/extensions/<WAR
Package>
where <WAR
Package
> is the package for the deployed application.
For example, this would typically be smcfs, sbc, and sfs for the Sterling Order Management System Software , Sterling Business Center,
and Sterling Field Sales
- Add the following to the
weblogic.xml
file:
<session-descriptor>
<session-param> <param-name>CookiePath</param-name> <param-value>/<context-path></param-value> </session-param> </session-descriptor>
where <context-path> is the context path
for the deployed application. For example, this would typically be
/smcfs, /sbc, and /sfs for the Sterling Order Management System Software , Sterling Business Center,
and Sterling Field Sales
- Rebuild the EAR file.