Class Session

Description

class Session

This class enables data to be preserved across subsequent requests invoked by the end user.

Additional measures must be taken to actively protect the integrity of a session.

Located in /session.class.php (line 22)


	
			
Variable Summary
Method Summary
Session __construct ()
void CloseSession ()
integer GetCacheExpire ()
string GetCacheLimiter ()
string GetId ()
string GetName ()
string GetSavePath ()
void OpenSession ()
Variables
mixed $cacheExpire (line 34)
  • access: private
mixed $cacheLimiter (line 33)
  • access: private
mixed $cookieDomain (line 31)
  • access: private
mixed $cookieLifetime (line 29)
  • access: private
mixed $cookiePath (line 30)
  • access: private
mixed $cookieSecure (line 32)
  • access: private
mixed $name (line 28)
  • access: private
mixed $savePath (line 27)
  • access: private
mixed $Session (line 24)
  • static:
  • access: private
mixed $XmlConfigDao (line 25)
  • access: private
Methods
Constructor __construct (line 43)

function __construct

This method is executed when an object is instantiated from this class. Preprocessing can be done here before the object is put into service.

  • access: private
Session __construct ()
CloseSession (line 185)

function CloseSession() {

This method starts a session if it does not exist, destroys all data registered to the session, and expires the session cookie.

  • access: public
void CloseSession ()
GetCacheExpire (line 100)

function GetCacheExpire

This method retrieves the current cache expire setting.

  • return: Current cache expire
  • access: public
integer GetCacheExpire ()
GetCacheLimiter (line 111)

function GetCacheLimiter

This method retrieves the current cache limiter setting.

  • return: Current cache limiter
  • access: public
string GetCacheLimiter ()
GetCookieParameters (line 122)

function GetCookieParameters

This method retrieves the session cookie parameters.

  • return: Session cookie parameters
  • access: public
array GetCookieParameters ()
GetId (line 133)

function getId

This method retrieves the current session id.

  • return: Current session id
  • access: public
string GetId ()
GetInstance (line 84)

function GetInstance

This method instantiates a new object from this class; more specifically, it's a singleton instance.

  • return: object instance
  • static:
  • access: public
Session GetInstance ()
GetName (line 144)

function GetName

This method retrieves the current session name.

  • return: Current session name
  • access: public
string GetName ()
GetSavePath (line 155)

function GetSavePath

This method retrieves the current session save path.

  • return: Current session save path
  • access: public
string GetSavePath ()
OpenSession (line 167)

function OpenSession

This method sets the current session save path, the session name, the session cookie parameters, the current cache limiter, the current cache expire and starts a session.

  • access: public
void OpenSession ()

Documentation generated on Thu, 9 Sep 2004 09:03:39 -0400 by phpDocumentor 1.3.0RC3