Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How are cookies managed in iPhone apps?

Are apps-cookies stored in separate per-app location, or shared throughout the device? Are third-party cookies allowed (read/write)? Are persistant cookies allowed?

like image 668
Matthieu Avatar asked Feb 19 '11 17:02

Matthieu


1 Answers

Your application has its own "cookie jar" in the [NSHTTPCookieStorage sharedHTTPCookieStorage] container. An application only has access to cookies it creates or destroys, within the usual application sandbox model that applies for documents and preferences, as well.

like image 92
Alex Reynolds Avatar answered Nov 14 '22 23:11

Alex Reynolds