Keeping in mind tilly's warning above...
Using CGI.pm, the parameters are 'sticky', so if you have
parameters 'cinfo' and 'pword' from the first page, just do
this while printing the second page (inside whatever form
they need to be in):
print hidden('cinfo'),hidden('pword');
# Or in OO style:
my $q = CGI->new;
print $q->hidden('cinfo'), $q->hidden('pword');