The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Understanding resizing and positioning Reply To: Understanding resizing and positioning


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/1440directly for a single minute, 1/86400for a second.