in reply to Login and CGI security ("open cookie jar") problem.

just noticed a typo in my answer.
my $time_algo += $s for my $s @time2..5;
should really be changed to:
my $time_algo += $_ for @time2..5;

Originally posted as a Categorized Answer.