public function setPersistentState($name, $value) {
		
		$name = static::getCookiePrefix() . ucfirst($name);
		
		$this->persistentState[$name] = $value;
				
		setcookie($name, json_encode($value), NULL, '/');
		
	}