objective c - Semantic question regarding NSURLRequest and HTTP Cookies -


i've been thumbing through apple documentation , can't seem find out if cookies saved/used every instance of nsurlconnection, or single instance. seems though cookies hanging around after release individual instances of nsurlconnection, unsure if tests comprehensive. on appreciated.

thanks in advance!

it depends on operating system developing. on mac os x, cookies shared processes given user. on ios, not. in both cases, cookies accepted given application shared within application process , across instances of application.

again, documentation of nshttpcookiestorage:

nshttpcookiestorage implements singleton object (shared instance) manages shared cookie storage. these cookies shared among applications , kept in sync cross-process.

(bold emphasis mine)

further,

ios note: cookies not shared among applications in ios.

(bold emphasis theirs)


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -