[ 
https://issues.apache.org/jira/browse/CB-9581?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tobias Bocanegra reopened CB-9581:
----------------------------------

the individual cookie store does not work as expected with cookies set via 
javascript. handling this is a bit more complicated.

however, I realized that the cookie store wasn't initialized properly. adding 
this:

{code}
    [[NSHTTPCookieStorage sharedHTTPCookieStorage] 
setCookieAcceptPolicy:NSHTTPCookieAcceptPolicyAlways];
{code}

helps.

> OSX WebView does not send cookies is safari cache is cleared
> ------------------------------------------------------------
>
>                 Key: CB-9581
>                 URL: https://issues.apache.org/jira/browse/CB-9581
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: OSX
>    Affects Versions: Master
>            Reporter: Tobias Bocanegra
>            Assignee: Tobias Bocanegra
>             Fix For: Master
>
>
> Until 10.10, the webview cookie store is coupled with safari. this is a 
> problem when safari's cache is cleared, then the webview cookie store is not 
> properly initiazlied and no cookies are sent.
> furthermore we should have individual cookie stores for each app, to enhance 
> security, even for non sandboxed apps.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to