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

Jesse Monroy commented on CB-6665:
----------------------------------

[~rlau1115] There is a new plugin that supports cookies. Does this resolve your 
issue?
https://www.npmjs.com/package/cordova-cookie-master

> Can't access cookies in response/request headers for Android WebView 
> ---------------------------------------------------------------------
>
>                 Key: CB-6665
>                 URL: https://issues.apache.org/jira/browse/CB-6665
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>            Reporter: Randy Lau
>
> I am having trouble configuring the Android WebView to access the "Cookie" 
> header in my HTTP requests/responses.  On my iOS implementation, I am using 
> localStorage to grab the cookie from a response header and storing it for 
> persistent session management.  (When accessing my server from a mobile 
> browser, I can see the "Cookie" in the request header, but when accessing it 
> via the Cordova app, the "Cookie" header isn't there.)
> I've had some unsuccessful attempts for the past few hours/days with these 
> approaches below (and several others).  I have relatively little knowledge of 
> the Android SDK so I might be missing something.
> http://blog.winfieldpeterson.com/2013/01/17/cookies-in-hybrid-android-apps/
> http://stackoverflow.com/questions/1652850/android-webview-cookie-problem
> http://stackoverflow.com/questions/11083160/how-to-enable-cookies-for-android-phonegap-1-8-0-app
> My cookies aren't set to HttpOnly, and they expire.  I am currently using 
> Cordova 3.4.0 with an Android 4.4 device.  Haven't yet tested other Android 
> OS to see if it's a problem on other versions.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to