public function setCookie($name, $value)
	{
		if(!preg_match("'^[a-z_0-9\-\.]+$'i", $name))
		{
			throw new \InvalidArgumentException(sprintf('Invalid cookie name: "%s"', $name));
		}
			
		$this->cookies[$name] = $value;
		
		return $this;
	}