Cookies consent in codeigniter 4 not working
I’m trying to set a cookie in a website i’m working in with codeigniter 4 right now.
The idea is to show a toast asking for user consent to set cookies, and if the user agrees with it I create a cookie to sabe the last visit datetime. I also want that once the user agrees or rejects it the toast will close and not open again even if the user opens another page in my site.