cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tobias Bocanegra (JIRA)" <j...@apache.org>
Subject [jira] [Reopened] (CB-9581) OSX WebView does not send cookies is safari cache is cleared
Date Fri, 18 Sep 2015 05:26:04 GMT

     [ 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


Mime
View raw message