# in the parent CGI script my $id = get_user_id; # just give them a new ID build_image($id, @arguments); # or store the arguments # in a database or something print "\n"; # or you can be cool and use CGI PATH_INFO stuff: print "";