You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Tobias Bocanegra (JIRA)" <ji...@apache.org> on 2015/09/18 07:26:04 UTC

[jira] [Reopened] (CB-9581) OSX WebView does not send cookies is safari cache is cleared

     [ 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: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org