Cookies On Mobile Phone

你离开我真会死。 提交于 2019-12-11 02:28:32

问题


can I use a cookie or session object in my mobile website to control login from a PHP page?


回答1:


Yes.

Mobile phones use web browsers which generally support cookies (unless the phone is really old), so a cookie based login shouldn't be a problem.




回答2:


Keep in mind that some networks or transcoding proxies of networks may block cookies. it would be better to use url based session state if you care about every visitor.




回答3:


Thought I would update this as it came up on a search I did for my report on mobile websites

with HTML5 you can also use localStorage as stated by w3schoo which is sported by IE8+ and the rest



来源:https://stackoverflow.com/questions/4489733/cookies-on-mobile-phone

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!