Daca tu nu intelegi asta:
Create a cookie, valid across the entire site:
Cookies.set('name', 'value');
Create a cookie that expires 7 days from now, valid across the entire site:
Cookies.set('name', 'value', { expires: 7 });
Create an expiring cookie, valid to the path of the current page:
Cookies.set('name', 'value', { expires: 7, path: '' });
Atunci e o problema f mare, nu vreau sa fiu heitar, dar pune in plm mana si ruleaza alea sa vezi ce se intampla.