Javascript Cookie with no expiration date October 25, 2022 by Tarik Nope. That can’t be done. The best ‘way’ of doing that is just making the expiration date be like 2100.