iPhone书签和会话变量(用户必须登录两次)

发布于 2024-08-01 14:39:24 字数 348 浏览 3 评论 0原文

我正在创建一个旨在由 iPhone、黑莓等设备查看的 Web 应用程序。我的问题是,当 iPhone 用户在其主屏幕上添加指向该应用程序的链接时,他们必须登录两次。

这个循环是这样的:

  1. 用户为应用程序的主页添加书签
  2. 用户稍后转到主页
  3. 他们首先被带到登录屏幕
  4. 登录后,他们被带到应用程序的主页
  5. 一旦他们单击链接,Safari 就会打开一个新窗口他们再次被带到登录页面
  6. 这次登录后,一切正常

这似乎是会话变量的问题,尽管我似乎找不到任何优雅的解决方案。

此外,服务器正在运行 ColdFusion。

I'm creating a web application meant to be viewed by iPhones, Blackberrys etc. My problem is that, when an iPhone user adds a link to the app on their home screen, they have to log in twice.

The cycle goes like this:

  1. User bookmarks the app's homepage
  2. User later goes to the homepage
  3. They are brought first to the log in screen
  4. After logging in, they are taken to the app's homepage
  5. As soon as they click a link, Safari opens a new window in which they are brought to the log in page again
  6. After logging in this time, everything works as normal

It seems like a problem with Session variables, though I can't seem to find any sort of elegant solution for it.

Also, the server is running ColdFusion.

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

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

发布评论

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

评论(1

心欲静而疯不止 2024-08-08 14:39:24

当用户首次登录时是否可以删除 cookie?

Would it be possible to drop a cookie when the user first logs in?

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