Zend Framework  1.12
Public Member Functions | List of all members
Zend_Session_Validator_HttpUserAgent Class Reference

Public Member Functions

 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.
 

Additional Inherited Members

- Protected Member Functions inherited from Zend_Session_Validator_Abstract
 setValidData ($data)
 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.
 
 getValidData ()
 GetValidData() - This method should be used to retrieve the environment variables that will be needed to 'validate' a session.
 

Member Function Documentation

setup ( )

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

Returns
void

Implements Zend_Session_Validator_Interface.

validate ( )

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

Returns
bool

Implements Zend_Session_Validator_Interface.