Class Mage_Core_Model_Session_Abstract_Varien

Description

Magento

NOTICE OF LICENSE

This source file is subject to the Open Software License (OSL 3.0) that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://opensource.org/licenses/osl-3.0.php 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@magentocommerce.com so we can send you a copy immediately.

DISCLAIMER

Do not edit or add to this file if you wish to upgrade Magento to newer versions in the future. If you wish to customize Magento for your needs please refer to http://www.magentocommerce.com for more information.

Located in /Core/Model/Session/Abstract/Varien.php (line 28)

Varien_Object
   |
   --Mage_Core_Model_Session_Abstract_Varien
Direct descendents
Class Description
Mage_Core_Model_Session_Abstract Core Session Abstract model
Class Constant Summary
VALIDATOR_HTTP_USER_AGENT_KEY = 'http_user_agent'
VALIDATOR_HTTP_VIA_KEY = 'http_via'
VALIDATOR_HTTP_X_FORVARDED_FOR_KEY = 'http_x_forwarded_for'
VALIDATOR_KEY = '_session_validator_data'
VALIDATOR_REMOTE_ADDR_KEY = 'remote_addr'
Method Summary
Methods
clear (line 250)

Alias for unsetAll

  • access: public

Redefined in descendants as:
getCookie (line 133)

Retrieve cookie object

  • access: public
Mage_Core_Model_Cookie getCookie ()
getData (line 179)

Additional get data with clear mode

  • access: public
mixed getData ([string $key = ''], [bool $clear = false])
  • string $key
  • bool $clear
getSessionId (line 193)

Retrieve session Id

  • access: public
string getSessionId ()

Redefined in descendants as:
getSessionName (line 217)

Retrieve session name

  • access: public
string getSessionName ()
getSessionSaveMethod (line 261)

Retrieve session save method Default files

  • access: public
string getSessionSaveMethod ()

Redefined in descendants as:
getSessionSavePath (line 271)

Get sesssion save path

  • access: public
string getSessionSavePath ()

Redefined in descendants as:
getValidateHttpUserAgentSkip (line 321)

Retrieve skip User Agent validation strings (Flash etc)

  • access: public
array getValidateHttpUserAgentSkip ()

Redefined in descendants as:
getValidatorData (line 381)

Retrieve unique user data for validator

  • access: public
array getValidatorData ()
init (line 155)

Init session with namespace

  • access: public
Mage_Core_Model_Session_Abstract_Varien init (string $namespace, [string $sessionName = null])
  • string $namespace
  • string $sessionName

Redefined in descendants as:
revalidateCookie (line 143)

Revalidate cookie

  • deprecated: after 1.4 cookie renew moved to session start method
  • access: public

Redefined in descendants as:
setSessionId (line 204)

Set custom session id

  • access: public
Mage_Core_Model_Session_Abstract_Varien setSessionId ([string $id = null])
  • string $id

Redefined in descendants as:
setSessionName (line 228)

Set session name

  • access: public
Mage_Core_Model_Session_Abstract_Varien setSessionName (string $name)
  • string $name
start (line 42)

Conigure and start session

  • access: public
Mage_Core_Model_Session_Abstract_Varien start ([string $sessionName = null])
  • string $sessionName

Redefined in descendants as:
unsetAll (line 239)

Unset all data

  • access: public

Redefined in descendants as:
useValidateHttpUserAgent (line 311)

Use HTTP_USER_AGENT in validator key

  • access: public
bool useValidateHttpUserAgent ()

Redefined in descendants as:
useValidateHttpVia (line 291)

Use HTTP_VIA in validator key

  • access: public
bool useValidateHttpVia ()

Redefined in descendants as:
useValidateHttpXForwardedFor (line 301)

Use HTTP_X_FORWARDED_FOR in validator key

  • access: public
bool useValidateHttpXForwardedFor ()

Redefined in descendants as:
useValidateRemoteAddr (line 281)

Use REMOTE_ADDR in validator key

  • access: public
bool useValidateRemoteAddr ()

Redefined in descendants as:
validate (line 332)

Validate session

  • access: public
Mage_Core_Model_Session_Abstract_Varien validate (string $namespace)
  • string $namespace
_validate (line 353)

Validate data

  • access: protected
bool _validate ()
Class Constants
VALIDATOR_HTTP_USER_AGENT_KEY = 'http_user_agent' (line 31)
VALIDATOR_HTTP_VIA_KEY = 'http_via' (line 33)
VALIDATOR_HTTP_X_FORVARDED_FOR_KEY = 'http_x_forwarded_for' (line 32)
VALIDATOR_KEY = '_session_validator_data' (line 30)
VALIDATOR_REMOTE_ADDR_KEY = 'remote_addr' (line 34)

Documentation generated on Fri, 11 Feb 2011 17:15:52 +0200 by phpDocumentor 1.4.3