Unable to Set or Get Cookies from a WSRP Portlet in WebCenter Portal (Spaces) or Custom WebCenter Portal Application (Doc ID 1358575.1)

Last updated on JULY 19, 2017

Applies to:

Oracle WebCenter Portal - Version 11.1.1.1.0 to 11.1.1.5.0 [Release 11g]
Information in this document applies to any platform.

Symptoms


Unable to set or get cookies from a WSRP Portlet in WebCenter Portal (Spaces) or custom WebCenter Portal Application.

EXPECTED BEHAVIOR
-----------------------
Expect to be able to set cookies on the response of each lifecycle method (processAction, processEvent, render, and serveResource) with the following code:

response.addProperty(javax.servlet.http.Cookie cookie)



Then expect to access the cookies in all lifecycle methods using the following code:

request.getCookies().



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