<font face="Verdana,Arial,Helvetica,sans-serif" size="2"><div>Hi there,&nbsp;</div><div><br></div><div>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:</div><div>1. How do you persist the cookies?</div><div>2. Where do you persist them?</div><div><br></div><div>In my current implementation (<a href="https://github.com/apple/swift-corelibs-foundation/pull/672)," target="_blank">https://github.com/apple/swift-corelibs-foundation/pull/672)</a>, I write them to a hidden plist file located in the user's home directory. Would that be an acceptable approach?</div><div><br></div><div>Is there anything more to consider while thinking of persistence? I'd greatly appreciate suggestions/comments.&nbsp;<br></div><div><br></div><div>Thanks!</div><div><font face="Verdana,Arial,Helvetica,sans-serif" size="2"><font><font><div class="socmaildefaultfont" dir="ltr"><div class="socmaildefaultfont" dir="ltr"><div class="socmaildefaultfont" dir="ltr"><div dir="ltr" style="font-style: normal;"><font face="Sans Serif, Verdana, Arial, Helvetica, sans-serif">Pushkar N Kulkarni,</font></div>
<div dir="ltr" style="font-style: normal;"><font face="Sans Serif, Verdana, Arial, Helvetica, sans-serif">IBM Runtimes</font></div><div dir="ltr" style="font-style: normal;"><font face="Sans Serif, Verdana, Arial, Helvetica, sans-serif"><br></font></div><div dir="ltr"><font face="serif, Times New Roman, Times, serif"><i>Simplicity is prerequisite for reliability - Edsger W. Dijkstra</i></font></div>
<div dir="ltr" style="font-style: normal; font-size: 10.5pt; font-family: Arial;"><br></div></div></div></div></font></font></font></div></font><BR>