• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSURLConnection Without NSHTTPCookieStorage
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSURLConnection Without NSHTTPCookieStorage


  • Subject: NSURLConnection Without NSHTTPCookieStorage
  • From: Michael Tsai <email@hidden>
  • Date: Wed, 9 Aug 2006 18:02:09 -0400

I'm using NSURLConnection to fetch a URL over HTTP. When it does that, I see (in ObjectAlloc) that it instantiates the shared NSHTTPCookieStorage, which uses about 500K of RAM on my machine. Is there a way to prevent it from doing this, since I know I won't be needing the cookies? I've tried calling:

    [request setHTTPShouldHandleCookies:NO]

on the URL request, but that doesn't help.

--Michael

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: NSURLConnection Without NSHTTPCookieStorage
      • From: John Stiles <email@hidden>
  • Prev by Date: Re: Turning NSTableView on it's side
  • Next by Date: Re: NSURLConnection Without NSHTTPCookieStorage
  • Previous by thread: Re: Turning NSTableView on it's side
  • Next by thread: Re: NSURLConnection Without NSHTTPCookieStorage
  • Index(es):
    • Date
    • Thread