Zend_Session_Validator_HttpUserAgent

category Zend
package Zend_Session
subpackage Validator
copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
license New BSD License
inherited_from \Zend_Session_Validator_Abstract

 Methods

Setup() - this method will get the current user agent and store it in the session as 'valid data'

setup() : void

Validate() - this method will determine if the current user agent matches the user agent we stored when we initialized this variable.

validate() : boolean

Returns

boolean

GetValidData() - This method should be used to retrieve the environment variables that will be needed to 'validate' a session.

getValidData() : mixed
Inherited

Returns

mixed

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.

setValidData(mixed $data) : void
Inherited

These values are stored in the session in the __ZF namespace, in an array named VALID

Parameters

$data

mixed