Class sqlsession

Description

Located in /sqlsession.class.php (line 16)


	
			
Method Summary
sqlsession __construct ( &$db, [string $table = 'sqlsessions'], object $db)
bool closesession ()
bool destroysession (string $sessionid)
bool garbagecollection (int $maxlifetime)
bool opensession ()
string readsession (string $sessionid)
bool writesession (string $sessionid, string $sessiondata)
Methods
Constructor __construct (line 37)

Constructor

  • access: public
sqlsession __construct ( &$db, [string $table = 'sqlsessions'], object $db)
  • object $db
  • string $table
  • &$db
closesession (line 59)

Close the session.

  • access: public
bool closesession ()
destroysession (line 108)

Destroy the session.

  • access: public
bool destroysession (string $sessionid)
  • string $sessionid
garbagecollection (line 122)

Clean out old sessions.

  • access: public
bool garbagecollection (int $maxlifetime)
  • int $maxlifetime
opensession (line 49)

Open the session.

  • access: public
bool opensession ()
readsession (line 70)

Read the session-data.

  • access: public
string readsession (string $sessionid)
  • string $sessionid
writesession (line 94)

Write the session-data.

  • access: public
bool writesession (string $sessionid, string $sessiondata)
  • string $sessionid
  • string $sessiondata

Documentation generated on Thu, 12 Mar 2009 16:30:27 +0800 by phpDocumentor 1.4.2