\Zend_Session_Validator_HttpUserAgent
Zend_Session_Validator_HttpUserAgent
- Copyright: Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)
- License: http://framework.zend.com/license/new-bsd New BSD License
Synopsis
class Zend_Session_Validator_HttpUserAgent
extends Zend_Session_Validator_Abstract
{
- // Inherited methods from Zend_Session_Validator_Abstract
- protected void setValidData()
- protected mixed getValidData()
Hierarchy
Extends
Methods
public
- setup() — Setup() - this method will get the current user agent and store it in the session as 'valid data'
- validate() — Validate() - this method will determine if the current user agent matches the user agent we stored when we initialized this variable.
Inherited from Zend_Session_Validator_Abstract
protected
- getValidData() — GetValidData() - This method should be used to retrieve the environment variables that will be needed to 'validate' a session.
- setValidData() — SetValidData() - This method should be used to store the environment variables that will be needed in order to validate the session later in the validate() method.