Cookies On Mobile Phone

2019-07-21 15:12发布

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

3条回答
\"骚年 ilove
2楼-- · 2019-07-21 15:49

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.

查看更多
爷、活的狠高调
3楼-- · 2019-07-21 15:53

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.

查看更多
劫难
4楼-- · 2019-07-21 15:54

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

查看更多
登录 后发表回答