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

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

问题描述

我有一个jquery移动网络应用程序。在我的iPhone上,当我在网络应用程序上时,我有一个登录和会话变量。如果我让应用程序转到手机上的其他位置然后返回到Web应用程序,我必须再次登录。似乎没有维护会话。此外,如果我有一个外部链接,并打开该链接的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?

推荐答案

我猜你是指苹果全屏功能元标记网络应用。它们存在于沙箱中,因此不会保留会话数据。

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天全站免登陆