Home › Forums › JavaScript › Understanding resizing and positioning › Reply To: Understanding resizing and positioning
April 5, 2016 at 6:57 am
#240250
Shikkediel
Participant
I googled a bit myself as well and couldn’t find much either… hence the earlier “solution”. But I think I just figured out you can set expires
to -1
to make the cookie expire immediately.
Edit – using 0
seems to work as well, tried it before and initially thought otherwise. And decimals are apparently also an option – one minute would be about 0.0007
then.
Or of course 1/1440
directly for a single minute, 1/86400
for a second.