cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Josh Soref <jso...@blackberry.com>
Subject RE: Cookie support in docs.
Date Wed, 22 Apr 2015 16:44:37 GMT
Andrey:
It makes sense for someone to write a simple document saying that cookies are 
supported for subresources requested from remote web servers, but that Cordova 
doesn't promise cookie support for the app itself, and it should suggest using 
localStorage or the file API for preferences.

Thanks for volunteering to work on this :)

> -----Original Message-----
> From: agrieve@google.com [mailto:agrieve@google.com] On Behalf Of
> Andrew Grieve
> Sent: Wednesday, April 22, 2015 11:18 AM
> To: dev
> Subject: Re: Cookie support in docs.
>
> Cookies work the same as they do in a browser AFAIK. cookies for file:
> don't make sense because you talk to a server at file:. If you make an XHR
> to http:///, they it can set cookies.
>
> On Wed, Apr 22, 2015 at 6:12 AM, Andrey Kurdumov
> <kant2002@googlemail.com>
> wrote:
>
> > Hi,
> >
> > I come across the following SO question.
> >
> > http://stackoverflow.com/questions/24374397/cookie-support-in-
> cordova-official-documentation
> >
> > The guy could not find any mentions about cookie support in the
> Phonegap. I
> > do google search and find that the only mention about cookie support is
> > issue CB-8026 where stated that Android support third-party cookies. I
> > personally was having problems with that, but resolve it using custom HTTP
> > header.
> >
> > Question is: Does it make sense add the section in the docs regarding
> > cookies, and their limitations in Cordova apps, due to fact that files
> > server over file:/// protocol?
> >

Mime
View raw message