Cache-Manifest How to handle authentication cookies?

不问归期 提交于 2019-12-11 05:15:42

问题


How are authentication cookies read/stored when using cache-manifest?

I am using cache manifest to speed up a jquery-mobile app that has a browser baseline of Safari Mobile. I am using the multi-page template and within in one of the pages, I make an ajax request to my server for dynamic data.

The issue I am encountering is that when I cache the multi page template(index.html), it technically is not authenticated during subsequent reloads/views and when I make the ajax request, the server is not able to read an expected cookie value to bypass the ACL and thus allow the get request.

Thank you in advance for replies.

来源:https://stackoverflow.com/questions/10437605/cache-manifest-how-to-handle-authentication-cookies

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