I'm using jquery cookie plugin to save data, the data is saved and i can read it but it's goes when i'm close the browser and open it again, i do programming for Samsung smart TV app, and the api support cookie, also as i said i can read the data throw the cookie, i set the expiry date too 100 day, but when I close the TV and open it again there is no data, the TV use Mozilla, here is my code.

jQuery.cookie("user", data, { expires: 100 });

while data is json object from the ajax call, i parse it to string and save it and it's worked fine when i'm read it, but the problem is when i'm closing the TV and open it again there is no data saved.