Class SessionHandler__JS

Description

The SessionHandler class (ignore the file's __JS suffix).

This class can be used to get and set session data, using AJAX. The class uses the Wigbi.PHP.System.SessionHandler class to get access to the native PHP session handling.

Located in /wigbi_source/php/__js__system/SessionHandler.php (line 40)


	
			
Method Summary
 static void get (string $name, function $onGet)
 static void set (string $name, mixed $value, function $onSet)
Methods
static get (line 51)

Get the value of a certain session variable.

  • access: public
static void get (string $name, function $onGet)
  • string $name: The name of the session variable.
  • function $onGet: Callback function, if any; takes the result as a parameter.
static set (line 63)

Set the value of a certain session variable.

  • access: public
static void set (string $name, mixed $value, function $onSet)
  • string $name: The name of the session variable.
  • mixed $value: The new variable value.
  • function $onSet: Callback function, if an.

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