HTTPS - 客户端数据丢失
我注意到在使用 HTTPS 的 Firefox 中,如果我在表单项(例如文本框)中输入数据并按刷新,数据就会丢失。如果在我按下提交后服务器上抛出错误,这也会导致数据丢失吗?
如果是这样,有没有办法阻止这种情况发生(从服务器端)?
感谢您的观看。
I have noticed in Firefox using HTTPS if I type data into a form item such as a text box and press refresh the data is lost. If an error was thrown on a server after I pressed submit would this also cause the data to be lost?
If so, Is there a way to stop this from happening (from the server side)?
Thanks for viewing.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这是浏览器实现的功能。在 FireFox 中,您可以设置一个配置选项来缓存通过 HTTPS 接收的页面,但您需要一个外部工具来将您键入的数据存储到通过 https 接收的表单中,因为大多数浏览器出于安全原因不存储此信息。
This is a browser implementation feature. In FireFox there is a configuration option you can set to cache pages received through HTTPS but you will need an external tool to store the data you type into a form received through https as most browsers don't store this information for security reasons.