[
https://issues.apache.org/jira/browse/CB-6389?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13959575#comment-13959575
]
ASF GitHub Bot commented on CB-6389:
------------------------------------
Github user clelland commented on the pull request:
https://github.com/apache/cordova-plugin-inappbrowser/pull/34#issuecomment-39527128
Umm... you're absolutely right there. And I'm not sure quite how I missed
that.
I'll reopen the original issue (CB-3617) since that's clearly not done. The
option name should be changed here, and we should start thinking about parity
on other platforms.
Two issues to resolve:
1. Do session *cookies* get cleared when the InAppBrowser is closed? If so,
there's never going to be a need to explicitly clear those ones on a
`window.open` call.
2. Does `sharedURLCache` in this case contain cached responses for just the
IAB, or for the entire application? (XHRs, internal navigation, etc.) If so, we
probably don't want to clear it this way, and should probably just start the
InAppBrowser with its own isolated URL cache instead, and clear *that* cache
when requested.
> Add clearsessioncache option for iOS
> ------------------------------------
>
> Key: CB-6389
> URL: https://issues.apache.org/jira/browse/CB-6389
> Project: Apache Cordova
> Issue Type: Improvement
> Components: iOS, Plugin InAppBrowser
> Affects Versions: 3.4.0
> Environment: iOS
> Reporter: Mark Bradshaw
> Priority: Minor
> Labels: features
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> Android has a clearsessioncache option that is missing in the iOS version.
> This, being a useful feature, is something I'd like to add. The changes are
> fairly minor, and I will issue a pull request with the needed code changes.
--
This message was sent by Atlassian JIRA
(v6.2#6252)