Phone GAP SessionStorage
问题 I working on an iPhone Application using phone GAP.In my app we are using an external DB .User login using web service, i need to store user ID after login .How i store the user ID using phone GAP.can i use phone GAP Session Storage for this?is possible? Any one knows please helps. Thanks, Companion. 回答1: You really don't have the concept of "session" in Phonegap - you have HTML5 localStorage to store persistent data (think "application scope"): var userId = localStorage.getItem("userId"); if