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 RedisSession

The Redis-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\AbstractCacheSession
Extended by Alo\Session\RedisSession
Namespace: Alo\Session
Package: Session
Author: Art <a.molcanovas@gmail.com>
Located at sys/class/alo/session/redissession.php

Methods summary

public
# __construct( )

Instantiates the class

Instantiates the class

Throws

Alo\Exception\ExtensionException
When a caching class is not available

Author

Art <a.molcanovas@gmail.com>

Overrides

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

Instantiates the class

Instantiates the class

Returns

Alo\Session\RedisSession

Throws

Alo\Exception\ExtensionException
When a caching class is not available

Author

Art <a.molcanovas@gmail.com>

Methods inherited from Alo\Session\AbstractCacheSession

fetch(), terminate(), write()

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

Properties inherited from Alo\Session\AbstractCacheSession

$client, $prefix

Properties inherited from Alo\Session\AbstractSession

$data, $id, $save, $time

AloFramework documentation API documentation generated by ApiGen 2.8.0