Iframe and cookies


#1

Hi all,

I’ve made an app which contains an iframe to show some content from our server. The src url of the iframe points to a webpage that will only be displayed if a cookie can be set. For some reason this does not work on (some) Android devices.

Can I do something to make this work?

thanks for your help,
Peter


#2

need that anwser also :confused:

my idea is simple: use a iframe to show a mobile version of the website. but the website has a login feature, since no cookies - no php session’s

any toughts ?

thanks


#3

Yes. Don’t use iframe.


#4

do you have any other solution ?


#5

Hello, may be you can see whitelist plugin

https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-whitelist/