Class SessionHandler

Description

The SessionHandler class.

This class can be used to get and set session data and is mainly used to add AJAX-based session handling to the JavaScript layer.

Wigbi automatically adds session_start to the very first page line, so you do not have to enable session handling manually.

This class also ensures that session data is strictly added to one specific Wigbi application instead of being available to all Wigbi applications that are running on the server.

Located in /wigbi_source/php/system/SessionHandler.php (line 42)


	
			
Method Summary
 static mixed get (string $name)
 static void set (string $name, mixed $value)
Methods
static get (line 53)

Get the value of a certain session variable.

  • return: The variable value, if any.
  • access: public
static mixed get (string $name)
  • string $name: The name of the session variable.
static set (line 73)

Set the value of a certain session variable.

  • access: public
static void set (string $name, mixed $value)
  • string $name: The name of the session variable.
  • mixed $value: The session variable value.

Documentation generated on Sun, 27 Dec 2009 20:12:07 +0100 by phpDocumentor 1.4.1