Cookie not working in codeigniter 4. Need helper |
(04-20-2020, 03:18 PM)Leo Wrote: I was able to set and read a cookie just fine with your stripped code. You probably have a problem with your getConfig() function. Heres a stripped to barebones code that worked. Just build your code up until you find the problem. Try and echo out getConfig('auth_cookie_expiry') and see if you get the correct value? Also your XSS_Clean set to true looks suspicious on the get_cookie() func. switch it to false maybe? I just used your code in my code but not working also |
Messages In This Thread |
Cookie not working in codeigniter 4. Need helper - by Chivinsdev - 04-19-2020, 08:46 AM
RE: Cookie not working in codeigniter 4. Need helper - by Leo - 04-19-2020, 02:12 PM
RE: Cookie not working in codeigniter 4. Need helper - by Chivinsdev - 04-20-2020, 01:35 PM
RE: Cookie not working in codeigniter 4. Need helper - by Leo - 04-20-2020, 03:18 PM
RE: Cookie not working in codeigniter 4. Need helper - by Chivinsdev - 04-20-2020, 03:37 PM
RE: Cookie not working in codeigniter 4. Need helper - by seunex - 04-20-2020, 10:08 PM
RE: Cookie not working in codeigniter 4. Need helper - by Leo - 04-20-2020, 10:26 PM
RE: Cookie not working in codeigniter 4. Need helper - by seunex - 04-21-2020, 01:55 AM
RE: Cookie not working in codeigniter 4. Need helper - by Leo - 04-21-2020, 05:15 AM
|