Finishing face questions 20,191,127

(1). Cookies and session storage and difference?

1.cookie stored on the client, visible to the user, but can be forged unsafe. session on the server.

2.session can be stored in the article, moderate database. But in files to maintain the expiration time of the session, there is redis it has an expiration time setting mechanism, can maintain their own expiration time.

Link: https: //www.jianshu.com/p/616a47bce522

(2) OSI network protocol layering Detailed
 

 

Guess you like

Origin www.cnblogs.com/wenjing2019/p/11947106.html