You can't do that server side, you would need to use client side JavaScript in the page to do that.
....What it sounds like though it that you have a user filling in a form, and if there is a problem with it you want to send them to the form again, right? If so, what you want to do is show them the form again and fill in the blanks with your Perl script. I usually use something like the HTML::Template module to do this. Something like this... use HTML::Template; if ( $params_are_bad ) { my $tmpl = HTML::Template->new( filename => 'myform.tmpl' ); $tmpl->param( NAME => $name ); $tmpl->param( ADDRESS => $address ); $tmpl->param( PHONE => $phone ); print $tmpl->output; exit; } The template will partially look like this... <form action="foo.cgi"> Your name: <input type="text" value="<TMPL_VAR NAME="NAME">"><br> Your address: <input type="text" value="<TMPL_VAR NAME="ADDRESS">"><br> Your phone: <input type="text" value="<TMPL_VAR NAME="PHONE">"><br> </form> Basically you just reprint the form for them and fill in the values they already entered. Rob -----Original Message----- From: willy wonka [mailto:[EMAIL PROTECTED]] Sent: Monday, March 11, 2002 3:42 PM To: [EMAIL PROTECTED] Subject: Browser navigation with cgi Does anyone konw if it is possble to access the goback feature built into the ie5 and netscape throught cgi script. I can use a url in a form action to go back to the page I wan't but the form info on the page is gone. If I use the back button on the browser the info is still there. I am trying to make a back button in a form to go back one page on the history list but cannot find any info on this anywhere. Thanks -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]