Config cookie not work, and get_cookie cannot get cookie - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=11) +--- Thread: Config cookie not work, and get_cookie cannot get cookie (/showthread.php?tid=82690) |
Config cookie not work, and get_cookie cannot get cookie - namnguyen2091 - 08-10-2022 I have a class like this: PHP Code: <?php Code: <?php I why in the client I call to cookie() function why get_cookie('TTT') return null. This is my code: Code: const instance = axios.create({ Code: Access-Control-Allow-Credentials: true Code: Accept: application/json, text/plain, */* I searched on google 3 days but nothing help. Please help me! |