You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Joe Bowser (JIRA)" <ji...@apache.org> on 2014/05/22 19:57:02 UTC
[jira] [Commented] (CB-6673) Clearing cookies in InAppBrowser
clears cookie in entire application
[ https://issues.apache.org/jira/browse/CB-6673?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14006194#comment-14006194 ]
Joe Bowser commented on CB-6673:
--------------------------------
This may be true, but I don't see how this is fixable. This is probably why a Cordova application shouldn't be using cookies. :(
> Clearing cookies in InAppBrowser clears cookie in entire application
> --------------------------------------------------------------------
>
> Key: CB-6673
> URL: https://issues.apache.org/jira/browse/CB-6673
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android
> Affects Versions: 3.3.0, 3.4.0
> Environment: All Android versions
> Reporter: Nadav Greenberg
>
> When using InAppBrowser's clear cookie feature, it clears the cookies also from the application itself, not only the newly opened page in the InAppBrowser.
> It seems that this is caused by the CookieManager singleton being used to clear the cookies, which clears the entire WebView's cookies, not just the new window's.
--
This message was sent by Atlassian JIRA
(v6.2#6252)