Tiger_Session_SaveHandler_DbTable
@api· extendsZend_Session_SaveHandler_DbTable
Tiger_Session_SaveHandler_DbTable — DB-backed PHP session handler.
Ported from AskLevi's Levi_Session_SaveHandler_DbTable. Extends ZF1's Zend_Session_SaveHandler_DbTable to (a) validate the session id, (b) stamp the current user/role/org/ip onto the row (for auditing + admin session views), and (c) apply a tiered, config-driven idle TTL. GC reaps expired rows.
Methods
write()
write($id, $data): bool
Write the session row, stamping identity context + a role-based lifetime.
$idstring— the session id$datastring— the serialized session payload
Returns bool — true on success (or a skipped empty guest session)
gc()
gc($maxlifetime): bool
Reap expired sessions. Never lets a GC failure break the request.
$maxlifetimeint— PHP's configured max session lifetime (unused; TTL is per-row)
Returns bool — always true