The cookie store for storing cookies within this session.
- iOS 7.0+
- macOS 10.9+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
This property determines the cookie storage object used by all tasks within sessions based on this configuration.
To disable cookie storage, set this property to
For default and background sessions, the default value is the
shared cookie storage object.
ephemeral sessions, the default value is a private cookie storage object that stores data in memory only, and is destroyed when you invalidate the session.