通过在登录过程中使用这些行,我已经将登录detials存储到缓存文件中。
intel.xdk.cache.setCookie("userid",username,50);
intel.xdk.cache.setCookie("password",password,50);
我希望应用程序记住凭据,所以我想我必须在init-app.js文件中获取它们,然后转发到内容页面。
通过传递index.html页面,应该使用哪种方法转发到js中的特定页面?这是进行缓存身份验证的适当方式吗?
发布于 2015-02-05 06:03:44
相反,使用localStorage.setItem("password", password);
并使用localStorage.getItem("password");
检索它
不要将密码存储在本地存储器中。我所做的,
https://stackoverflow.com/questions/28237383
复制相似问题