cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Grant Patterson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-12074) Cookies are ignored on first application execution
Date Fri, 15 Sep 2017 23:59:00 GMT

    [ https://issues.apache.org/jira/browse/CB-12074?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16168706#comment-16168706
] 

Grant Patterson commented on CB-12074:
--------------------------------------

[~todd.miller] my experience as well. Can someone explain how AJAX/XHR requests are handled
by the native code? Perhaps there's another way to intercept these and save the cookies returned
by the server?
FYI for me, the app doesn't need to be "closed" per se; simply backgrounding and foregrounding
it makes things work.

> Cookies are ignored on first application execution
> --------------------------------------------------
>
>                 Key: CB-12074
>                 URL: https://issues.apache.org/jira/browse/CB-12074
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-plugin-wkwebview-engine
>         Environment: Cordova 5.4.0, iOS 9.3.5
>            Reporter: Maxim
>            Assignee: Shazron Abdullah
>              Labels: wkwebview-known-issues
>
> Our application authenticates to the server. The server sets a 'JSESSIONID' cookie. The
cookie is used by the server for session management. 
> The issue is WKWebView does not send this cookie back to the server on subsequent requests.
However, this only happens on first execution of the application, after its installation.
Once the application closed and re-opened, the cookies are properly sent and authentication
completes successfully. 
> The problematic behavior is consistent, and was observed on several devices. On the other
hand, there are no such issues with UIWebView. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message