79824729

Date: 2025-11-19 16:47:23
Score: 2.5
Natty:
Report link

Ok I worked this out myself, by having two cookies, one with a 14 day expiry (if user chooses remember me), and one with a 30 min expiry, which is extended by 30 mins on every request. If the short expiry cookie does not exist, it is recreated from the longer token if that is present.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: anorakgirl