english/libraries/joomla/session/storage/memcache.php
/**
	 * Set expire time on each call since memcache sets it on cache creation.
	 *
	 * @param   string  $key		Cache key to expire.
	 * @param   integer  $lifetime  Lifetime of the data in seconds.
	 */
Set expire time on each call since memcache sets it on cache creation.
@param   string  $key                Cache key to expire.
@param   integer  $lifetime  Lifetime of the data in seconds.
Set expire time on each call since memcache sets it on cache creation . @param string $key Cache key to expire . @param integer $lifetime Lifetime of the data in seconds .
protected function _setExpire($key)
	{
		$lifetime	= ini_get("session.gc_maxlifetime");
		$expire		= $this->_db->get($key.'_expire');
		if ($expire + $lifetime < time()) {
			$this->_db->delete($key);
			$this->_db->delete($key.'_expire');
		} else {
			$this->_db->replace($key.'_expire', time());
		}
	}
protected function _setExpire ( $ key ) { $ lifetime = ini_get ( " session.gc_maxlifetime " ) ; $ expire = $ this -> _db -> get ( $ key . '_expire' ) ; if ( $ expire + $ lifetime < time ( ) ) { $ this -> _db -> delete ( $ key ) ; $ this -> _db -> delete ( $ key . '_expire' ) ; } else { $ this -> _db -> replace ( $ key . '_expire' , time ( ) ) ; } }
Set expire time on each call since memcache sets it on cache creation.
Set expire time on each call since memcache sets it on cache creation .
// set prune period