会话和cookie如何工作? [英] How session and cookie works?

查看:157
本文介绍了会话和cookie如何工作?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我创建一个会话变量,其中保存的用户名和密码,它是如何在内部工作?关于保存信息的常规Cookie的相同问题。 coookie和session中包含哪些类型的信息?它们之间有什么区别?

When i create a session variable where is saved username and password, how does it works internally? Same question about regular cookies where information is saved. Which type of information are included in coookie and session? What is the difference between them?

推荐答案

我发现的最佳会话和Cookie文章是

The best article on sessions and cookies I ever found is

http://shiflett.org/articles/the-truth-about-sessions

这篇关于会话和cookie如何工作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆