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 [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
destroy(string $id) : void
Destroy Session - remove data from resource for given session id
Parameters
Name | Type | Description |
---|---|---|
$id | string |
gc(int $maxlifetime) : void
Garbage Collection - remove old session data older than $maxlifetime (in seconds)
Parameters
Name | Type | Description |
---|---|---|
$maxlifetime | int |
open(string $save_path, string $name) : void
Open Session - retrieve resources
Parameters
Name | Type | Description |
---|---|---|
$save_path | string | |
$name | string |