AloFramework documentation
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Todo
  • Download

Namespaces

  • Alo
    • Cache
    • CLI
    • Controller
    • Db
    • Exception
    • FileSystem
    • Session
    • Statics
    • Test
    • Validators
    • Windows
  • Controller
  • None
  • PHP

Classes

  • AbstractCacheSession
  • AbstractSession
  • MemcachedSession
  • RedisSession
  • SQLSession

Class SQLSession

The SQL-based session handler. ALO_SESSION_CLEANUP is not used here as cleanup is handled by the MySQL event handler

Alo\Session\AbstractSession
Extended by Alo\Session\SQLSession
Namespace: Alo\Session
Package: Session
Author: Art <a.molcanovas@gmail.com>
Located at sys/class/alo/session/sqlsession.php

Methods summary

public
# __construct( )

Instantiates the class

Instantiates the class

Author

Art <a.molcanovas@gmail.com>

Overrides

Alo\Session\AbstractSession::__construct
public static Alo\Session\SQLSession
# SQLSession( )

Instantiates the class

Instantiates the class

Returns

Alo\Session\SQLSession

Author

Art <a.molcanovas@gmail.com>
protected Alo\Session\SQLSession
# fetch( )

Fetches session data

Fetches session data

Returns

Alo\Session\SQLSession

Author

Art <a.molcanovas@gmail.com>
public Alo\Session\SQLSession
# terminate( )

Terminates the session

Terminates the session

Returns

Alo\Session\SQLSession

Author

Art <a.molcanovas@gmail.com>

Overrides

Alo\Session\AbstractSession::terminate
protected Alo\Session\SQLSession
# write( )

Saves session data

Saves session data

Returns

Alo\Session\SQLSession

Author

Art <a.molcanovas@gmail.com>

Methods inherited from Alo\Session\AbstractSession

__destruct(), __get(), __isset(), __set(), __toString(), __unset(), clear(), delete(), expire(), forceWrite(), getAll(), getID(), getToken(), getTokenActual(), getTokenExpected(), identityCheck(), refreshToken(), removeExpired(), setID()

Magic methods summary

Constants summary

Constants inherited from Alo\Session\AbstractSession

EXPIRE_KEY, HASH_ALGO

Properties summary

protected Alo\Db\MySQL $db
#

Reference to database instance

Reference to database instance

Properties inherited from Alo\Session\AbstractSession

$data, $id, $save, $time

AloFramework documentation API documentation generated by ApiGen 2.8.0