CodeCharge Studio

CCSetCookie Function (PHP)

Description

Creates a new cookie and assigns it the specified value or sets the specified value to the named cookie if it already exists.

Syntax

CCSetCookie(name, value)

Return value

none

Parameters

Name Type Description Required
name string Name of the cookie whose value is to be set. Yes
value string The value to be assigned to the cookie. Yes

See Also:

CCGetCookie function


On-line, printable versions and updates