Session/SaveHandler/Interface.php

Show: PublicProtectedPrivateinherited
    Table of Contents
    Zend Framework
    LICENSE This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to [email protected] so we can send you a copy immediately.
    Category
    Zend  
    Copyright
    Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
    License
    New BSD License  
    Package
    Zend_Session  
    Since
    Preview Release 0.2  
    Version
    $Id$  

    \Zend_Session_SaveHandler_Interface

    Package: Zend_Session\SaveHandler
    Zend_Session_SaveHandler_Interface
    See
     
    Category
    Zend  
    Copyright
    Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
    License
    New BSD License  

    Methods

    methodpublicclose() : void

    Close Session - free resources

    methodpublicdestroy(string $id) : void

    Destroy Session - remove data from resource for given session id

    Parameters
    NameTypeDescription
    $idstring
    methodpublicgc(int $maxlifetime) : void

    Garbage Collection - remove old session data older than $maxlifetime (in seconds)

    Parameters
    NameTypeDescription
    $maxlifetimeint
    methodpublicopen(string $save_path, string $name) : void

    Open Session - retrieve resources

    Parameters
    NameTypeDescription
    $save_pathstring
    $namestring
    methodpublicread(string $id) : void

    Read session data

    Parameters
    NameTypeDescription
    $idstring
    methodpublicwrite(string $id, mixed $data) : void

    Write Session - commit data to resource

    Parameters
    NameTypeDescription
    $idstring
    $datamixed
    Documentation was generated by phpDocumentor 2.2.0 .