Class Mage_Persistent_Model_Session
Persistent Session Model
- Varien_Object
- Mage_Core_Model_Abstract
- Mage_Persistent_Model_Session
Package: Mage\Persistent
Category: Mage
Copyright: Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
License: Open Software License (OSL 3.0)
Author: Magento Core Team <core@magentocommerce.com>
Located at code/core/Mage/Persistent/Model/Session.php
Category: Mage
Copyright: Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
License: Open Software License (OSL 3.0)
Author: Magento Core Team <core@magentocommerce.com>
Located at code/core/Mage/Persistent/Model/Session.php
protected
|
|
public
|
|
public
boolean
|
|
public
string
|
#
getExpiredBefore( integer|string|
Get date-time before which persistent session is expired |
protected
|
#
_beforeSave( )
Serialize info for Resource Model to save For new model check and set available cookie key |
protected
|
|
public
|
|
public
|
|
public
|
#
deleteByCustomerId( integer $customerId, boolean $clearCookie = true )
Delete customer persistent session by customer id |
public
|
|
public
|
#
deleteExpired( null|integer $websiteId = null )
Delete expired persistent sessions for the website |
protected
|
|
public
|
integer |
KEY_LENGTH
|
50 |
|
string |
COOKIE_NAME
|
'persistent_shopping_cart' |
protected
array
|
$_unserializableFields | array('persistent_id', 'key', 'customer_id', 'website_id', 'info', 'updated_at') |
#
Fields which model does not save into |
protected
boolean
|
$_loadExpired | false |
#
If model loads expired sessions |
$_cacheTag,
$_dataSaveAllowed,
$_eventObject,
$_eventPrefix,
$_isObjectNew,
$_resource,
$_resourceCollectionName,
$_resourceName
|