<font face="Verdana,Arial,Helvetica,sans-serif" size="2"><div>Thanks Will! </div><div><br></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;">"<span style="font-family: 'Courier New', Courier, monospace; font-size: medium;">NSHomeDirectory() + "/.foundation/Cookies/shared" </span>seems good to me</div><div dir="ltr" style="font-style: normal;"><br><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><br><br><font face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size="2" color="#000000"><font color="#990099">-----Will Stanton <<a href="mailto:willstanton1@yahoo.com" target="_blank">willstanton1@yahoo.com</a>> wrote: -----</font><div class="iNotesHistory" style="padding-left:5px;"><div style="padding-right:0px;padding-left:5px;border-left:solid black 2px;">To: Pushkar N Kulkarni/India/IBM@IBMIN<br>From: Will Stanton <<a href="mailto:willstanton1@yahoo.com" target="_blank">willstanton1@yahoo.com</a>><br>Date: 11/08/2016 08:45AM<br>Cc: swift-corelibs-dev <<a href="mailto:swift-corelibs-dev@swift.org" target="_blank">swift-corelibs-dev@swift.org</a>><br>Subject: Re: [swift-corelibs-dev] Implementing HTTPCookieStorage<br><br><div><font face="Courier New,Courier,monospace" size="3">Was wondering if there could be a common directory for Foundation-related files, such as NSUserDefaults in addition to cookie storage?<br><br>So maybe for cookies:<br>NSHomeDirectory() + "/.foundation/Cookies/shared"<br><br>And settings for an app/service:<br>NSHomeDirectory() + "/.foundation/Preferences/EXECUTABLE_NAME.plist"<br><br><br>And I’m not familiar with how Apple Foundation/CFNetwork/nsurlsessiond handles cookies… or caches things, but I think I agree with Kenny that naming symmetry would be nice if there is a per-user cookies file.<br><br>So having a /Library may be nicer, but potentially unnecessary?<br>NSHomeDirectory() + "/.foundation/Library/Cookies/Cookies.something"<br><br>Regards,<br>Will Stanton<br><br>> On Nov 7, 2016, at 5:45 PM, Tony Parker via swift-corelibs-dev <<a href="mailto:swift-corelibs-dev@swift.org" target="_blank">swift-corelibs-dev@swift.org</a>> wrote:<br>> <br>> Hi Pushkar,<br>> <br>> 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?<br><br></font></div></div></div></font></font><BR>