Github user mbradshawabs commented on the pull request:
https://github.com/apache/cordova-plugin-inappbrowser/pull/34#issuecomment-39528726
The answer for #1 is no, unfortunately, which is the reason why I want this
functionality and why I am clearing cookies. If you close() inappbrowser and
open the same url, you get your cookies and your session back intact.
The docs for clearsessioncache (on
https://cordova.apache.org/docs/en/3.0.0/cordova_inappbrowser_inappbrowser.md.html)
indicate that it clears the session cookie cache on android. So it seems that
what we've got now is actually in parity with android. Though I completely
agree that the name of the property is a bit misleading. 'clearcookies' does
make tons more sense as a name, but I *think* that we are probably better off
just duplicating the android functionality even with a bad name.
In any case, what I really need is to be able to clear cookies, not the
cache, so whatever the name ends up being I want to maintain the functionality.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---