Use CGI::Session. This has the advantage that you don't even need JavaScript.
In reply to Re: encrypt / decrypt? by Corion in thread encrypt / decrypt? by DreamT