You can take cookie As a map, Inside are key value pairs, Each key value pair has Expiration time 、 Domain 、 route 、 Whether the script can access Other description information The description information is stored in the client, When requested by the client, By default, it will bring cookie Name and value of, No description, adopt http Request message header Medium cookie Item for transmission When the server responds, You can set cookie Information, It's just http In response to a message header in Set-Cookie term. It is stored on the client side ( Usually it's a browser ). Cookie It is a piece of information left by visitors after visiting the website.
0 Comments
Leave a Reply. |