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

Namespaces

  • Alo
    • Cache
    • CLI
    • Controller
    • Db
      • Query
    • Exception
    • FileSystem
    • Session
    • Traversables
    • Validators
    • Windows
  • Controller
  • None
  • PHP

Classes

  • AbstractCacheSession
  • AbstractSession
  • MemcachedSession
  • MySQLSession
  • RedisSession

Class AbstractCacheSession

Abstraction for cache-based session handlers

Alo\Session\AbstractSessionimplementsSessionHandlerInterface
Extended byAlo\Session\AbstractCacheSession

Direct known subclasses

Alo\Session\MemcachedSession,Alo\Session\RedisSession

Abstract
Namespace:Alo\Session
Author:Art <a.molcanovas@gmail.com>
Located atsys/class/alo/session/abstractcachesession.php

Methods summary

public boolean
#destroy(string$sessionID)

Destroys a session

Destroys a session

Parameters

$sessionID
string
$sessionID The ID to destroy

Returns

boolean

Author

Art <a.molcanovas@gmail.com>

Overrides

Alo\Session\AbstractSession::destroy
public string
#read(string$sessionID)

Read ssession data

Read ssession data

Parameters

$sessionID
string
$sessionID The session id to read data for.

Returns

string

Author

Art <a.molcanovas@gmail.com>

Link

http://php.net/manual/en/sessionhandlerinterface.read.php
public boolean
#write(string$sessionID,string$sessionData)

Write session data

Write session data

Parameters

$sessionID
string
$sessionID The session id.
$sessionData
string
$sessionData The encoded session data. This data is the result of the PHP internally encoding the $_SESSION superglobal to a serialized string and passing it as this parameter. Please note sessions use an alternative serialization method.

Returns

boolean

Author

Art <a.molcanovas@gmail.com>

Link

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

Methods inherited fromAlo\Session\AbstractSession

__construct(),close(),destroySafely(),gc(),getToken(),identityCheck(),initSession(),isActive(),open(),setID()

Magic methods summary

Properties summary

protectedAlo\Cache\MemcachedWrapper|Alo\Cache\RedisWrapper$client
#

MemcachedWrapper instance

MemcachedWrapper instance

protected string$prefix
#

Cache key prefix

Cache key prefix

AloFramework documentation API documentation generated byApiGen 2.8.0