Posts by Fabio • 21 points
1 post
-
2
votes2
answers9379
viewsQ: Save cookie and read its value when accessing the website to check if expired
I need to make a script in Javascript that follows the following logic: Record a cookie with a id, that goes from 1 to 3. Along with the cookie, the day/time OR I want it to expire in 8 hours. The…