Zend Framework
1.12
|
Public Member Functions | |
__construct (Zend_Service_WindowsAzure_Storage $storage, $sessionContainer= 'phpsessions', $sessionContainerPartition= 'sessions') | |
Creates a new Zend_Service_WindowsAzure_SessionHandler instance. | |
register () | |
Registers the current session handler as PHP's session handler. | |
open () | |
Open the session store. | |
close () | |
Close the session store. | |
read ($id) | |
Read a specific session. | |
write ($id, $serializedData) | |
Write a specific session. | |
destroy ($id) | |
Destroy a specific session. | |
gc ($lifeTime) | |
Garbage collector. | |
Public Attributes | |
const | MAX_TS_PROPERTY_SIZE = 65536 |
const | STORAGE_TYPE_TABLE = 'table' |
Storage backend type. | |
const | STORAGE_TYPE_BLOB = 'blob' |
Protected Attributes | |
$_storage | |
$_storageType | |
$_sessionContainer | |
$_sessionContainerPartition | |
__construct | ( | Zend_Service_WindowsAzure_Storage | $storage, |
$sessionContainer = 'phpsessions' , |
|||
$sessionContainerPartition = 'sessions' |
|||
) |
Creates a new Zend_Service_WindowsAzure_SessionHandler instance.
Zend_Service_WindowsAzure_Storage_Table | Zend_Service_WindowsAzure_Storage_Blob | $storage | Storage back-end, can be table storage and blob storage |
string | $sessionContainer | Session container name |
string | $sessionContainerPartition | Session container partition |
close | ( | ) |
Close the session store.
destroy | ( | $id | ) |
Destroy a specific session.
int | $id | Session Id |
gc | ( | $lifeTime | ) |
Garbage collector.
int | $lifeTime | Session maximal lifetime |
open | ( | ) |
Open the session store.
read | ( | $id | ) |
Read a specific session.
int | $id | Session Id |
register | ( | ) |
Registers the current session handler as PHP's session handler.
write | ( | $id, | |
$serializedData | |||
) |
Write a specific session.
int | $id | Session Id |
string | $serializedData | Serialized PHP object |
Exception |
|
protected |
|
protected |
|
protected |
|
protected |
const MAX_TS_PROPERTY_SIZE = 65536 |
const STORAGE_TYPE_BLOB = 'blob' |
const STORAGE_TYPE_TABLE = 'table' |
Storage backend type.