fix #69 refer to http://www.php.net/manual/zh/function.setcookie.php