alert(document.cookie); #### print $ENV{'HTTP_COOKIE'};