API Documentation

Session/SaveHandler/Interface.php

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 license@zend.com so we can send you a copy immediately.

category
Zend  
copyright
Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)  
license
New BSD License  
package
Zend_Session  
since
Preview Release 0.2  
version
$Id: Interface.php 23775 2011-03-01 17:25:24Z ralph $  

\Zend_Session_SaveHandler_Interface

Zend_Session_SaveHandler_Interface

see
\http://php.net/session_set_save_handler  
category
Zend  
copyright
Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)  
license
New BSD License  
package
Zend_Session  
subpackage
SaveHandler  

Methods

methodpublicclose( ) : void

Close Session - free resources

methodpublicdestroy( string $id ) : void

Destroy Session - remove data from resource for given session id

Parameters
Name Type Description
$id string
methodpublicgc( int $maxlifetime ) : void

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

Parameters
Name Type Description
$maxlifetime int
methodpublicopen( string $save_path, string $name ) : void

Open Session - retrieve resources

Parameters
Name Type Description
$save_path string
$name string
methodpublicread( string $id ) : void

Read session data

Parameters
Name Type Description
$id string
methodpublicwrite( string $id, mixed $data ) : void

Write Session - commit data to resource

Parameters
Name Type Description
$id string
$data mixed
Documentation was generated by DocBlox 0.13.3.