set cookie array code example
Example: php array in cookie
// Storing code
setcookie('your_cookie_name', json_encode($info), time()+3600);
// Reading code
$data = json_decode($_COOKIE['your_cookie_name'], true);
// Storing code
setcookie('your_cookie_name', json_encode($info), time()+3600);
// Reading code
$data = json_decode($_COOKIE['your_cookie_name'], true);