Skip Navigation
Expand
Setting cookies in Customer Portal
Answer ID 7094   |   Last Review Date 03/18/2019

What is the proper way to set a cookie in Customer Portal?

Environment:

Customer Portal

Resolution:

To properly set a cookie in Customer Portal, a wrapper for php's setcookie has been created called setCPCookie. This php function provides default functionality for setting path, domain, httponly, and secure.

For more information on this and other php functions, see Oracle Service Cloud Customer Portal Documentation.

Available Languages for this Answer:

Notify Me
The page will refresh upon submission. Any pending input will be lost.