initWithStorageLocation:

Initializes an NSHTTPCookieStorage object with a given file system location to store cookie information on disk.

Declaration

- (id)initWithStorageLocation:(NSURL *)storageFileURL

Parameters

storageFileURL

A file:// URL that indicates the file to use for cookie storage.

Return Value

An initialized NSHTTPCookieStorage object that stores its cookie information at storageFileURL.