在 iPhone 上的 Web 应用程序中维护 PHP 会话 [英] Maintain PHP Session in web app on iPhone

查看:17
本文介绍了在 iPhone 上的 Web 应用程序中维护 PHP 会话的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个 jquery 移动网络应用程序.在我的 iPhone 上,当我使用网络应用程序时,我有一个登录和会话变量.如果我离开应用程序转到手机上的另一个位置,然后返回到网络应用程序,我必须再次登录.似乎没有维护会话.此外,如果我有一个外部链接并且它打开了该链接的 safari,则该会话不会转移到 safari 窗口.有没有办法保持会话?

I have a jquery mobile web app. On my iPhone when I am on the web app I have a login and session variables. If I leave the app to go to another location on the phone and then return to the web app, I have to log in again. It seems like the session is not maintained. Further if I have an external link and it opens safari for that link, that same session is not transfered to the safari window. Is there a way to maintain the session?

推荐答案

我猜你指的是 Apple 的全屏功能"元标记网络应用程序".它们存在于沙箱中,因此不会,不会维护会话数据.

I'm guessing you're referring to the Apple "fullscreen capable" meta tag "web apps". They exist in a sandbox, so no, session data won't be maintained.

这篇关于在 iPhone 上的 Web 应用程序中维护 PHP 会话的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆