class Session (View source)

Methods

static string
getToken()

No description

static void
secure()

tries to secure session from hijacking and fixation should be called before login and after successful login (only required if sensitive information stored in session)

static void
setUp(Config $config, ErrorHandler $errorHandler)

No description

Details

static string getToken()

No description

Return Value

string

static void secure()

tries to secure session from hijacking and fixation should be called before login and after successful login (only required if sensitive information stored in session)

Return Value

void

Exceptions

SessionHandlerException

static void setUp(Config $config, ErrorHandler $errorHandler)

No description

Parameters

Config $config
ErrorHandler $errorHandler

Return Value

void

Exceptions

SessionHandlerException