安全性通常支持以HTTPS开头的SSL Web站点,而安全属性只能通过HTTPS或其他安全协议设置为cookie。 cookie本质上是一个字符串。 In general, cookie cannot contain commas, semicolons, spaces and other special characters, but these characters can be used for encoding transmission, which is the special character in a text string is converted into the corresponding sixteen hexadecimal ASCII value, you can use the encodeURI () function will be converted into text characters effectively using decodeURI (URI) decoding function