AloFramework Sessions 1.2 API
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Todo

Namespaces

  • AloFramework
    • Session
  • PHP

Classes

  • AbstractSession
  • Config
  • MySQLNoEventSession
  • MySQLSession
  • RedisSession
  • Token

Exceptions

  • SessionException

Class MySQLNoEventSession

A version of the MySQL session handler when event handling is impossible. The use of this class is not recommended.

AloFramework\Session\AbstractSession implements SessionHandlerInterface, AloFramework\Config\Configurable, ArrayAccess uses AloFramework\Config\ConfigurableTrait (not available)
Extended by AloFramework\Session\MySQLSession
Extended by AloFramework\Session\MySQLNoEventSession
Namespace: AloFramework\Session
Author: Art a.molcanovas@gmail.com
Located at MySQLNoEventSession.php

Methods summary

public boolean
# gc( integer $maxLifeTime )

Cleanup old sessions.

Cleanup old sessions.

Parameters

$maxLifeTime
Sessions that have not updated for the last maxlifetime seconds will be removed.

Returns

boolean

The return value (usually TRUE on success, FALSE on failure). Note this value is returned internally to PHP for processing.

Author

Art a.molcanovas@gmail.com

Link

http://php.net/manual/en/sessionhandlerinterface.gc.php

Overrides

AloFramework\Session\AbstractSession::gc
public AloFramework\Session\MySQLNoEventSession
# start( )

Starts the session

Starts the session

Returns

AloFramework\Session\MySQLNoEventSession

Author

Art a.molcanovas@gmail.com

Overrides

AloFramework\Session\AbstractSession::start

Methods inherited from AloFramework\Session\MySQLSession

__construct(), destroy(), idExists(), read(), write()

Methods inherited from AloFramework\Session\AbstractSession

__destruct(), __get(), __set(), close(), destroySafely(), getLastActiveSession(), handleIdentityCheckFailure(), isActive(), offsetExists(), offsetGet(), offsetSet(), offsetUnset(), open(), setID(), shouldBeSaved()

Properties summary

Properties inherited from AloFramework\Session\MySQLSession

$client

Properties inherited from AloFramework\Session\AbstractSession

$log

Magic properties inherited from AloFramework\Session\AbstractSession

$config

AloFramework Sessions 1.2 API API documentation generated by ApiGen