$.cookie("username", str_username, { expires: 7 });//存儲一個帶7天期限的cookie
$.cookie("username", "", { expires: -1 });//刪除一個cookie