session与cookie是借由浏览器储存的一个识别证。session是服务器与浏览器一次会话的电子凭证。参考资料:https://blog.csdn.net/think2me/article/details/38726429