View Full Version : Handling Session Cookies when Sencha .js is loaded from the device

28 Oct 2010, 7:35 AM
Our iphone application has two parts. A native application running on the iphone and a web application that is access via safari.

We made a decision early on to include the sencha libraries along with our native application and read them from local storage in safari when interacting with our remote web application. The problem now is that cookies written by the remote application are not sent when calling back to the server again with sencha. I suspect this is safari restricting the cookies since the .js was loaded from the local file system rather then the remote server...

Is there a way to do what we want? Load sencha .js from the local file system AND have the cookies written by the server handled? .. or must we redeploy sencha .js to our remote server...