Developer3010 opened a new issue #160:
URL: https://github.com/apache/cordova-plugin-wkwebview-engine/issues/160


   # Bug Report
   
   Hi, I recently migrated to WKWebView since UIWebView has been deprecated.
   With the new view I am having a lot of problems, especially regarding 
cookies during ajax calls, which are not maintained and consequently I cannot 
login to my app.
   Can anyone tell me if they can somehow be saved so that the session_id is 
always the same and does not change with every single call?
   
   ## Problem
   
   to log in to my app I need cookies to be saved, without those the call to 
the server fails because the session is not set, given that with each call the 
PHPSESSID is different
   
   ### What is expected to happen?
   
   I expect cookies to be saved or that there is still a way to make this happen
   
   ### What does actually happen?
   
   Noe cookie are not saved or stored, they are not persistent
   
   ## Information
   ### Command or Code
   
   ### Environment, Platform, Device
   <!-- In what environment, on what platform or on which device are you 
experiencing the issue? -->
   
   iPhone 6s -> 13.4
   iPhone 11 -> 13.5
   
   xcode 11.4.1
   
   ### Version information
   <!-- 
   What are relevant versions you are using?
   For example:
   Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins 
   Other Frameworks: Ionic Framework and CLI version
   Operating System, Android Studio, Xcode etc.
   -->
   
   I'm using:;
   "cordova-ios": "^5.1.1",
   "cordova-plugin-wkwebview-engine": "^1.2.1"
   "cordova-plugin-wkwebview-inject-cookie": "1.0.6"
   ## Checklist
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   
   - [x] I searched for existing GitHub issues
   - [x] I updated all Cordova tooling to most recent version
   - [x] I included all the necessary information above
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



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

Reply via email to