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

Last updated on SEPTEMBER 20, 2017

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.

 

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms