应该怎么处理 RESTful 应用中的 session ?
- WBOYOriginal
- 2016-06-17 08:31:301399browse
回复内容:
实际上不应该有传统意义的session才对
http协议是无状态的,可以通过传递token(access_token)等来进行用户身份的验证,而不应该有会话的概念。
token可以保存在cookie上
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn