category | Zend |
---|---|
package | Zend_Service_WindowsAzure |
subpackage | Session |
copyright | Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
license | New BSD License |
__construct(\Zend_Service_WindowsAzure_Storage_Table|\Zend_Service_WindowsAzure_Storage_Blob $storage, string $sessionContainer= 'phpsessions'
, string $sessionContainerPartition= 'sessions'
)
\Zend_Service_WindowsAzure_Storage_Table
\Zend_Service_WindowsAzure_Storage_Blob
Storage back-end, can be table storage and blob storage
string
Session container name
string
Session container partition
close() : boolean
boolean
destroy(integer $id) : boolean
integer
Session Id
boolean
gc(integer $lifeTime) : boolean
open() : boolean
boolean
read(integer $id) : string
integer
Session Id
string
register() : boolean
boolean
write(integer $id, string $serializedData)
integer
Session Id
string
Serialized PHP object
\Exception |
---|
$_sessionContainer : string
$_sessionContainerPartition : string
$_storage : \Zend_Service_WindowsAzure_Storage_Table | \Zend_Service_WindowsAzure_Storage_Blob
$_storageType : string
STORAGE_TYPE_BLOB = 'blob'
STORAGE_TYPE_TABLE = 'table'