当您将 Web 应用程序添加到 iOS 的主屏幕时,您将无法再存储 Cookie

发布于 2024-12-11 02:19:15 字数 99 浏览 1 评论 0原文

所以我的目标是使用离线存储来做到这一点。

主要目标是记住登录信息。

我应该以什么形式存储数据?我实际上应该如何做?

例子就太好了,谢谢!

So my goal is to use offline storage to do this.

The main goal is remembering login information.

In what form should I store the data and how should I actually go about doing this?

Examples would be great, thanks!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

远昼 2024-12-18 02:19:15

使用持久存储。请参阅Apple 文档中的此示例

UPD:Apple 现在建议使用 HTML5 的持久存储设施。不过,上面提到的文章内容非常丰富。

Use persistent storage. See this example from Apple docs.

UPD: Apple recommends using persistent storage facilities of HTML5 now. However, the above mentioned article is quite informative.

作妖 2024-12-18 02:19:15

考虑一下清单系统并存储一个动态 javascript 文件,其中包含登录变量......只是一个想法

think about the manifest system and store a dynamic javascript file with login variable inside... just an idea

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文