A small problem about cookie

use Chrome browser to open Baidu website, and use developer tools to check the Cookie, of Baidu website, as shown in the following figure, a total of 8 cookie items.

 cookies 1

document.cookie API cookie 7 cookie cookie HTTP

cookie document.cookie API HTTP

 cookies 2

Mar.30,2021

if the HttpOnly property is set in cookie (that is, the http you see is checked), then the cookie information will not be read through the js script, which can effectively prevent XSS attacks (the principle is that attackers enter (input) malicious HTML code to websites with XSS vulnerabilities, and this HTML code will be executed automatically when other users browse the site, thus achieving the purpose of the attack. For example, stealing user Cookie, destroying page structure, redirecting to other websites, etc.).

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1be7846-45e15.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1be7846-45e15.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?