My Oracle Support Banner

PathTrim Path Of Plugin Is Added In JSESSIONID Cookie Path (Doc ID 2266972.1)

Last updated on JUNE 10, 2024

Applies to:

Oracle WebLogic Server - Version 12.2.1.0.0 to 12.2.1.2.0 [Release 12c]
Information in this document applies to any platform.

Symptoms

PathTrim Path which is set in weblogic plugin is added to JSESSIONID Cookie Path.

Therefore JSESSIONID (Session Cookie) may not be added on the next request.

 

Reference:

https://docs.oracle.com/middleware/1221/webtier/develop-plugin/plugin_params.htm#PLGWL4388

PathTrim specifies the string trimmed by the plug-in from the {PATH}/{FILENAME} portion of the original URL, before the request is forwarded to WebLogic Server.

 

https://docs.oracle.com/middleware/1221/wls/WBAPP/weblogic_xml.htm#r16c1-t27

Element Name: cookie-path
Default Value: null

Value:

Defines the session tracking cookie path.

If not set, this attribute defaults to / (slash), where the browser sends cookies to all URLs served by WebLogic Server.

You may set the path to a narrower mapping, to limit the request URLs to which the browser sends cookies.

You can see the behavior using curl command as follows. 

WL-PATH-TRIM http header is send from plugin to WebLogic when PathTrim is set.

 

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.