API Documentation

Service/WindowsAzure/SessionHandler.php

Includes Classes 
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Service_WindowsAzure
subpackage
Session
version
$Id$
Classes
Zend_Service_WindowsAzure_SessionHandler

Description

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.

Zend_Service_WindowsAzure_SessionHandler

category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Service_WindowsAzure
subpackage
Session
Properties
$_tableStorage
$_sessionTable
$_sessionTablePartition
Methods
__construct
register
open
close
read
write
destroy
gc

Description

Properties

$_sessionTable

string $_sessionTable = ''

Session table name

Details

$_sessionTable
string
visibility
protected
default
final
false
static
false

$_sessionTablePartition

string $_sessionTablePartition = ''

Session table partition

Details

$_sessionTablePartition
string
visibility
protected
default
final
false
static
false

$_tableStorage

Zend_Service_WindowsAzure_Storage_Table $_tableStorage = ''

Table storage

Details

$_tableStorage
Zend_Service_WindowsAzure_Storage_Table
visibility
protected
default
final
false
static
false

Methods

__construct

__construct( Zend_Service_WindowsAzure_Storage_Table $tableStorage, string $sessionTable = phpsessions, string $sessionTablePartition = sessions ) :

Creates a new Zend_Service_WindowsAzure_SessionHandler instance

Arguments
$tableStorage
Zend_Service_WindowsAzure_Storage_Table
Table storage
$sessionTable
string
Session table name
$sessionTablePartition
string
Session table partition
Details
visibility
public
final
false
static
false

close

close( ) : bool

Close the session store

Output
bool
Details
visibility
public
final
false
static
false

destroy

destroy( int $id ) : boolean

Destroy a specific session

Arguments
$id
int
Session Id
Output
boolean
Details
visibility
public
final
false
static
false

gc

gc( int $lifeTime ) : boolean

Garbage collector

Arguments
$lifeTime
int
Session maximal lifetime
Output
boolean
Details
visibility
public
final
false
static
false
see
session.gc_divisor 100
see
session.gc_maxlifetime 1440
see
session.gc_probability 1
usage
Execution rate 1/100 (session.gc_probability/session.gc_divisor)

open

open( ) : bool

Open the session store

Output
bool
Details
visibility
public
final
false
static
false

read

read( int $id ) : string

Read a specific session

Arguments
$id
int
Session Id
Output
string
Details
visibility
public
final
false
static
false

register

register( ) : boolean

Registers the current session handler as PHP's session handler

Output
boolean
Details
visibility
public
final
false
static
false

write

write( int $id, string $serializedData ) :

Write a specific session

Arguments
$id
int
Session Id
$serializedData
string
Serialized PHP object
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox.