Session and Cookie
2008-10-15 17:17
344 查看
HTTP is a stateless protocol, so we often use cookie or session to store the user’s data and state.
1. The main difference between cookies and sessions is that cookies are stored in the user's browser, and sessions are stored in the server side.
2. cookies are only simple text that is usually not over 4096 bytes. Sessions are objects (not text files) that store data.
1. The main difference between cookies and sessions is that cookies are stored in the user's browser, and sessions are stored in the server side.
2. cookies are only simple text that is usually not over 4096 bytes. Sessions are objects (not text files) that store data.
相关文章推荐
- Session and cookie
- Cookie and Session
- Cookie and Session(上)
- Cookie and Session
- asp.net cookie and session
- cookie and session
- 转:java web中的cookie and session
- Cookie Theft and Session Hijacking
- cookie and session
- PHP7.27: Cookie and Session
- cookie and session
- Java Session and Cookie
- Django—Cookie and Session
- session and cookie
- cookie, sessionStorage and localStorage 之间的区别 与定义和应用;
- session and cookie
- difference between Cookie and Session
- What is the difference between a Session and a Cookie?
- session and cookie
- sessionid and cookie