How to Set the Session Cookie Path Attribute to a More Restrictive Context Path (Doc ID 2234795.1)

Last updated on FEBRUARY 24, 2017

Applies to:

Oracle WebLogic Server - Version 10.3 and later
Information in this document applies to any platform.

Goal

How can one set a more restrictive session cookie path?

For example, how can the cookie-path be set to "path=/myapp/" and not to "path=/"?

Also, can the cookie-secure and url-rewriting-enabled parameters both be set to true?

Solution

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