Handy Notes 1 2018/04/23 The difference between session and cookie

1. The cookie is stored on the client's browser, and the session is stored on the server

2. The security of cookies is not high, you can analyze the cookies stored locally and perform cookie deception

3. The session will be saved on the server for a certain period of time. When the traffic is too large, it will add a burden to the server.

4. The client size of a single cookie is limited to 3K

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324770982&siteId=291194637