Telephone does not apply to session cookies

Using Phonegap-3.0.0 + ios6.1 , on a real iphone, in a real https domain processing a server, many answers from different sources lead me to many trials and failures with session cookies, I still canโ€™t process them correct on the Iphone5+Phonegap app , although everything works fine in Iphone5+Safari .

Sources of Information and Understanding

  • Cookies-in-PhoneGap . This involves using a different transport mechanism to exchange cookies between clients and the server. Process the cookies on the wire (javascript set:document.cookie=... and get:xhr.getResponseHeader('Set-Cookie') ) and save it in Phonegap-html5-LocalStorage to receive it and reset in the next ajax request.

  • Iphone and Phonegap . I found this cocoa code in the app>Classes>AppDelegate.m . I donโ€™t think I need to modify it. It seems to be activated by default. My php server is still telling me Your session has timed out, or you have disabled cookies. .

I have been working with this client server for several months in different contexts, I always worked until the phone book appeared in the picture.

Questions

  • From web readings, telephone delay should be configured to support cookies. Right or wrong?
  • Does Phonegap really handle cookies by default (like when creating a project)?
  • Should a developer implement a cookie transport mechanism?

Thanks in advance.

+5
cookies ios6 cordova
source share

No one has answered this question yet.

See similar questions:

83
Handling cookies in PhoneGap / Cordova
7
cookie support in cordova official documentation

or similar:

1201
How do I set / remove cookies using jQuery?
867
How do I end a PHP session in 30 minutes?
863
Local storage vs. cookies
451
Set a cookie and get a cookie with JavaScript.
408
What is the difference between localStorage, sessionStorage, session and cookies?
83
Handling cookies in PhoneGap / Cordova
7
cookie support in cordova official documentation
3
Phonegap, iPhone, and ASP 6.0 cookies broken
one
How do cookie and express sessions work with CSRUF?

All Articles