Index: openacs-4/packages/acs-templating/tcl/util-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/tcl/util-procs.tcl,v diff -u -r1.29 -r1.30 --- openacs-4/packages/acs-templating/tcl/util-procs.tcl 7 Aug 2017 23:48:02 -0000 1.29 +++ openacs-4/packages/acs-templating/tcl/util-procs.tcl 1 Oct 2017 12:16:05 -0000 1.30 @@ -587,7 +587,7 @@ set cookie "$name=[ns_urlencode $value]; path=/; domain=$domain" - switch $expire_state { + switch -- $expire_state { persistent { append cookie ";expires=Wed, 01-Jan-2020 01:00:00 GMT"