If you wish to use the Perl implementation of cookies, and avoid javascripting or configuration changes, as mentioned
here by
doomwah2004
considered adding META tags to your HTML HEAD block. You should look
here and then write your redirection script using
CGI.pm.