NSHTTPCookieStorage state not saved on app exit. Any definitive knowledge/documentation out there?
Struggling with this problem and loath to implement a custom cookie management system. It appears some hidden level of iOS's implementation of HTTP fails to manage sessionless cookies properly. Any time an HTTP response sets or deletes a cookie, immediate inspection of NSHTTPCookieStorage cookies will yield the expected results and indicate the correct sessionOnly value. But if the app quits soon after a response updates cookies, upon relaunch those sessionOnly=FALSE cookies will be reverted to some previous state and the most recent updates lost. Whether the cookies are set/deleted by a