can I use a cookie or session object in my mobile website to control login from a PHP page?
标签:
mobile-website
相关问题
- How to resize image on mobile devices using jQuery
- Strange Click Event Bubble on iPhone safari that i
- How to remove click-to-call links for IE mobile br
- Swipe in the middle to open panel with jQuery Mobi
- Phonegap / Converting website for mobile use
相关文章
- jQuery Mobile background image not showing on a fu
- Classic View/Mobile View Switch?
- Programming Websites For Mobile Devices
- Force Numeric Keyboard for Mobile Device
- how make draggable li element with jquerymobile?
- How to target Galaxy Nexus and Nexus 7 with media
- Detect mobile devices with Django and Python 3
- Mobile HTML pages basics
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.
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.
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