API Documentation

Zend/Service/WindowsAzure/SessionHandler.php

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

Category
Zend  
Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Service_WindowsAzure  
Subpackage
Session  
Version
$Id: SessionHandler.php 24594 2012-01-05 21:27:01Z matthew $  

\Zend_Service_WindowsAzure_SessionHandler

Package: Zend\Service\WindowsAzure\Session

Category
Zend  
Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Properties

Propertyprotectedstring  $_sessionTable= ''

Session table name

Details
Type
string
Propertyprotectedstring  $_sessionTablePartition= ''

Session table partition

Details
Type
string
Propertyprotected\Zend_Service_WindowsAzure_Storage_Table  $_tableStorage= ''

Table storage

Methods

methodpublic__construct( \Zend_Service_WindowsAzure_Storage_Table $tableStorage, string $sessionTable = 'phpsessions', string $sessionTablePartition = 'sessions' ) : void

Creates a new Zend_Service_WindowsAzure_SessionHandler instance

Parameters
Name Type Description
$tableStorage \Zend_Service_WindowsAzure_Storage_Table

Table storage

$sessionTable string

Session table name

$sessionTablePartition string

Session table partition

methodpublicclose( ) : bool

Close the session store

Returns
Type Description
bool
methodpublicdestroy( int $id ) : boolean

Destroy a specific session

Parameters
Name Type Description
$id int

Session Id

Returns
Type Description
boolean
methodpublicgc( int $lifeTime ) : boolean

Garbage collector

Parameters
Name Type Description
$lifeTime int

Session maximal lifetime

Returns
Type Description
boolean
Details
See
\session.gc_divisor  
See
\session.gc_maxlifetime  
See
\session.gc_probability  
Usage
Execution rate 1/100 (session.gc_probability/session.gc_divisor)  
methodpublicopen( ) : bool

Open the session store

Returns
Type Description
bool
methodpublicread( int $id ) : string

Read a specific session

Parameters
Name Type Description
$id int

Session Id

Returns
Type Description
string
methodpublicregister( ) : boolean

Registers the current session handler as PHP's session handler

Returns
Type Description
boolean
methodpublicwrite( int $id, string $serializedData ) : void

Write a specific session

Parameters
Name Type Description
$id int

Session Id

$serializedData string

Serialized PHP object

Documentation was generated by DocBlox 0.15.1.