I try to work with Cookie in my website ,but always it marked as session and dont stay for all the time declared , it desespere after the browser close:
Here is my code to create the Cookie :
Cookie::queue('credits_sv', serialize($data), 60 * 24 * 30 * 365);
Here is my code to get data of Cookie :
Cookie::get('credits_sv')
Here the result :
Thank you for any help.