src/http/Request.php
public function deCookie ()
	{
		if (isset($this->header['cookie'])) {
			$cookies = explode(';', $this->header['cookie']);
			foreach ($cookies as $val) {
				$_tmp                           = explode('=', $val);
				$this->cookie[ trim($_tmp[0]) ] = $_tmp[1];
			}
		}

		if (isset($this->cookie['SFMBSESSION'])) {
			$this->session_id = $this->cookie['SFMBSESSION'];
		}
		else {
			$this->session_id = md5(uniqid());
		}
	}
public function deCookie ()
	{
		if (isset($this->header['cookie'])) {
			$cookies = explode(';', $this->header['cookie']);
			foreach ($cookies as $val) {
				$_tmp                           = explode('=', $val);
				$this->cookie[ trim($_tmp[0]) ] = $_tmp[1];
			}
		}

		if (isset($this->cookie['SFMBSESSION'])) {
			$this->session_id = $this->cookie['SFMBSESSION'];
		}
		else {
			$this->session_id = md5(uniqid());
		}
	}
解析cookie

@return bool