Previous Page
Methods

Solar_Session
__construct()

Next Page
__destruct()

__construct()

public Solar_Session __construct ( array $config default NULL )

Constructor.

Parameters

  • (array) $config: User-defined configuration values.

Returns

  • (Solar_Session)

Description

Constructor.

Starts the session if one does not exist, but only if we're not at the command line.

Automatically sends a P3P header if one is defined (and it is, by default).