We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No description provided.
The text was updated successfully, but these errors were encountered:
无状态协议:每个请求都是独立的,协议对于事务处理没有记忆能力,服务器根据请求返回发送数据,但是发送完不会记录任何信息;客户端必须每次都带上自己的状态去请求服务器;无状态则意味着需要重传。
HTTP 是无状态协议 (标准的 http 协议是无状态的、无连接的)
解决方案: (1)、Cookie (2)、通过 Session 会话保存
Sorry, something went wrong.
无状态协议: 是指协议对于事务处理没有记忆功能。缺少状态意味着,假如后面的处理需要前面的信息,则前面的信息必须重传,这样可能导致每次连接传送的数据量增大。在服务器不需要前面信息时,应答就较快,就是每个请求都是独立的,与前面的请求和后面的请求都是没有直接联系的。
http1.x是无状态协议,http2是有状态协议
解决方法:cookie、session、token
No branches or pull requests
No description provided.
The text was updated successfully, but these errors were encountered: