From ca77a587da9ec393bceda87c2ec8dda096e2890d Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Fri, 22 May 2015 15:25:11 -0500 Subject: demand https and other kewl stuff --- lib/cookies.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lib/cookies.pm') diff --git a/lib/cookies.pm b/lib/cookies.pm index 559e80a..23e560b 100644 --- a/lib/cookies.pm +++ b/lib/cookies.pm @@ -30,8 +30,9 @@ sub setCookie print "Set-Cookie: "; print $name, "=", $value, "; "; if ($date) { print "expires=$date; "; } -# print "path=", $path, "; domain=", $domain, "; secure\n"; - print "path=", $path, "; domain=", $domain, "\n"; + # use first line to force HTTPS + print "path=", $path, "; domain=", $domain, "; secure\n"; +# print "path=", $path, "; domain=", $domain, "\n"; } -- cgit v1.2.3-70-g09d2