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

Namespaces

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

Classes

  • AbstractSession
  • MemcachedSession
  • SQLSession

Class MemcachedSession

The Memcached-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\MemcachedSession
Namespace: Alo\Session
Package: Session
Author: Art <a.molcanovas@gmail.com>
Located at sys/class/alo/session/memcachedsession.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
protected Alo\Session\AbstractSession
# write( )

Saves session data

Saves session data

Returns

Alo\Session\AbstractSession

Author

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

Fetches session data

Fetches session data

Returns

Alo\Session\AbstractSession

Author

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

Terminates the session

Terminates the session

Returns

Alo\Session\AbstractSession

Author

Art <a.molcanovas@gmail.com>

Overrides

Alo\Session\AbstractSession::terminate

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\Cache\AbstractCache $mc
#

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