Skip Navigation
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?


Customer Portal


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 B2C Service Customer Portal Documentation.

Available Languages for this Answer:

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