Ah, the good old cookie question/issue. First off, it is not recommended to use cookies See Capacitor iOS / Cookie Authentication / capacitor/http - #10 by dallas
You might want to look at Capacitor’s first party Cookie plugin - Cookies Capacitor Plugin API | Capacitor Documentation
Lastly, some example code and some more details of what you are trying to do would be helpful for someone to help you.