Example #1
0
 /**
  * setExpirationHops() - expire the namespace, or specific variables after a specified
  * number of page hops
  *
  * @param int $hops        - how many "hops" (number of subsequent requests) before expiring
  * @param mixed $variables - OPTIONAL list of variables to expire (defaults to all)
  * @param boolean $hopCountOnUsageOnly - OPTIONAL if set, only count a hop/request if this namespace is used
  * @return void
  */
 public function setExpirationHops($hops, $variables = null, $hopCountOnUsageOnly = false)
 {
     $this->_sessionCore->namespaceSetExpirationHops($this->_namespace, $hops, $variables, $hopCountOnUsageOnly);
 }
Example #2
0
 /**
  * SetExpirationHops() - expire the namespace, or specific variables after a specified 
  * number of page hops
  *
  * @param int $hops
  * @param mixed $variables
  * @param boolean $hop_count_on_usage_only
  * @return void
  */
 public function setExpirationHops($hops, $variables = null, $hop_count_on_usage_only = false)
 {
     $this->_session_core->namespaceSetExpirationHops($this->_namespace, $hops, $variables, $hop_count_on_usage_only);
     return;
 }