CodeCharge Studio

CCGetSession Function (PHP)

Description

Retrieves the value of a specified session variable, or returns the default value specified in the function call.

Syntax

CCGetSession(Name [, DefaultValue])

Parameters

Name Type Description Required
Name string Name of the session variable which value is to be returned. Yes
DefaultValue string Value to return if the session variable is not set No

See Also:

CCSetSession function


On-line, printable versions and updates