From 1dc9d61832887020893d38acc10cb42813bfff38 Mon Sep 17 00:00:00 2001 From: swag Date: Sat, 16 Apr 2022 18:55:22 -0400 Subject: [PATCH] Make cookie smol --- guestbook-ng.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/guestbook-ng.pl b/guestbook-ng.pl index 5e6614c..d8fedf9 100755 --- a/guestbook-ng.pl +++ b/guestbook-ng.pl @@ -43,8 +43,8 @@ under sub ($c) { unless ($c->session('counted')) { $c->counter->increment_visitor_count(); $c->session( - expiration => 1800, - counted => 1 + expires => time() + 1800, + counted => 1 ); }