iPhone: NSHTTPCookie is not saved across app restarts
- by Tom van Zummeren
In my iPhone app, I want to be able to reuse the same server-side session when my app restarts. A session on the server is identified by a cookie, which is sent on each request. When I restart the app, that cookie is gone and I can't use the same session anymore.
What I noticed when I used the NSHTTPCookieStorage to look up the cookie I got from…