主要参考以下几篇文章的理解。
http://sumongh.iteye.com/blog/82498 理解cookie和session机制
http://www.chinahtml.com/1007/128010707619425.html 新手必读:session和cookie的区别
总结:Session和cookie不仅仅是两种并列的http传送信息的方式,也不是session cookies位于服务器端,persistent cookie位于客户端,而是session是以cookie为基础的。