0
I’m putting the following Cookie:
document.cookie = "Teste=" + '[{"Id":20,"Nome":"Prato Feito","Valor":12.5,"Quantidade":1,"Imagem":"/images/ImgEmpty/noImg.jpg","Descricao":"Batata Palha, Cebola, Tomate"}]';
it appears in the list of Cookies in the browser:
I can use the Cookie in JS to do whatever I want... But when I try to find it in the controller, it doesn’t appear in the Cookie list:
What should I do? I realized if there are 'spaces' in the cookie happens same thing:
document.cookie = "Teste=Hello World"
but if you do:
document.cookie = "Teste=HelloWorld", já aparece ja lista dos cookies no controller.