I’m for locating it in the same place on all platforms. In general, I’m tired 
of digging around in different places for stuff depending on which flavor I’m 
using.

-Kenny


> On Nov 7, 2016, at 2:45 PM, Tony Parker via swift-corelibs-dev 
> <swift-corelibs-dev@swift.org> wrote:
> 
> Hi Pushkar,
> 
> Good question. If this were Darwin I guess I would say ~/Library/Application 
> Support — but I don’t know what the best practices are on other platforms. 
> Does anyone out there have some suggestions?
> 
> - Tony
> 
>> On Nov 7, 2016, at 11:09 AM, Pushkar N Kulkarni via swift-corelibs-dev 
>> <swift-corelibs-dev@swift.org> wrote:
>> 
>> Hi there, 
>> 
>> I have spent some time working on a basic implementation of 
>> HTTPCookieStorage. In the process, I came across two crucial questions 
>> related to cookie persistence:
>> 1. How do you persist the cookies?
>> 2. Where do you persist them?
>> 
>> In my current implementation 
>> (https://github.com/apple/swift-corelibs-foundation/pull/672), I write them 
>> to a hidden plist file located in the user's home directory. Would that be 
>> an acceptable approach?
>> 
>> Is there anything more to consider while thinking of persistence? I'd 
>> greatly appreciate suggestions/comments. 
>> 
>> Thanks!
>> Pushkar N Kulkarni,
>> IBM Runtimes
>> 
>> Simplicity is prerequisite for reliability - Edsger W. Dijkstra
>> 
>> 
>> _______________________________________________
>> swift-corelibs-dev mailing list
>> swift-corelibs-dev@swift.org
>> https://lists.swift.org/mailman/listinfo/swift-corelibs-dev
> 
> _______________________________________________
> swift-corelibs-dev mailing list
> swift-corelibs-dev@swift.org
> https://lists.swift.org/mailman/listinfo/swift-corelibs-dev

_______________________________________________
swift-corelibs-dev mailing list
swift-corelibs-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-corelibs-dev

Reply via email to