Some cookies are temporary and get deleted once you close your browser. Others can stay 30 days and even over a year at times.