cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "yk pole (JIRA)" <>
Subject [jira] [Commented] (CB-12074) Cookies are ignored on first application execution
Date Wed, 22 Feb 2017 03:47:44 GMT


yk pole commented on CB-12074:

Thank you for your reply.
Unfortunately, I tried master of cordova-plugin-wkwebview-engine, but the issue was not solved.

I'll keep working on the problem.

 - I use $.ajax post to login and the response has Set-Cookie header (JSESSIONID).
 - Normally (e.g. NOT first application launch), subsequent $.ajax xhr requests has JSESSIONID
 - However, only first application launch, the cookie is not applied to subsequent $.ajax
xhr even if login request succeed and login response has Set-Cookie header.
 - The problem is solved if I swipe up to close the app and restart the app.
 - The problem occur only first launch, so I always try to reproduce the problem to delete
the app and reinstall the app.

> Cookies are ignored on first application execution
> --------------------------------------------------
>                 Key: CB-12074
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin WKWebViewEngine
>         Environment: Cordova 5.4.0, iOS 9.3.5
>            Reporter: Maxim
>            Assignee: Shazron Abdullah
> 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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message