in reply to CGI and redirect

Try this:

#!/usr/bin/perl # NewPage.cgi use CGI; $q = new CGI; print $q->header(-target=>'ResultWindow',-nhp=>1,-expires=>'now',-loca +tion=>'http://www.mindbase.net/');

This will put the contents of the page in your browser with the correct address in the Address bar. I'm not sure if this is what you want, but it will do something similar.

Update: If you want your address to stay in the browser Address bar, try this:

#!/usr/bin/perl print "Location: http://www.mindbase.net/\n\n";

J. J. Horner

Linux, Perl, Apache, Stronghold, Unix

jhorner@knoxlug.org http://www.knoxlug.org

Replies are listed 'Best First'.
RE: Re: CGI and redirect
by Storm (Novice) on May 24, 2000 at 19:34 UTC
    Perfect :) Thanks

    Storm