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.

__construct(
\Zend_Service_WindowsAzure_Storage_Table $tableStorage, string $sessionTable
=
'phpsessions', string $sessionTablePartition
=
'sessions'
)
:
void
Creates a new Zend_Service_WindowsAzure_SessionHandler instance
Name | Type | Description |
---|---|---|
$tableStorage | \Zend_Service_WindowsAzure_Storage_Table | Table storage |
$sessionTable | string | Session table name |
$sessionTablePartition | string | Session table partition |

destroy(
int $id
)
:
boolean
Destroy a specific session
Name | Type | Description |
---|---|---|
$id | int | Session Id |
Type | Description |
---|---|
boolean |

gc(
int $lifeTime
)
:
boolean
Garbage collector
Name | Type | Description |
---|---|---|
$lifeTime | int | Session maximal lifetime |
Type | Description |
---|---|
boolean |

read(
int $id
)
:
string
Read a specific session
Name | Type | Description |
---|---|---|
$id | int | Session Id |
Type | Description |
---|---|
string |

register(
)
:
boolean
Registers the current session handler as PHP's session handler
Type | Description |
---|---|
boolean |