session is stored in the server-side user information, Cookie is stored in the client user information
stored in session is any object, Cookie save the string
session closed with the end of the session, Cookie long-term storage on the client hard disk, you can temporarily stored in the memory of the browser
user information Cookie commonly used to save not important, important information using the session save
09-08 "Oracle Java EE Programming Guide": the difference between Cookie and Session
Guess you like
Origin blog.csdn.net/goldentec/article/details/105336944
Recommended
Ranking