Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

I can make a perl script modify a page, but how does one get the script to refresh the page when the submit button is clicked?

Replies are listed 'Best First'.
RE: Reloading
by vroom (His Eminence) on Jan 11, 2000 at 02:40 UTC
    You could have your CGI-script generate the page with the submit button. The have the FORM's action point to the same script. The script when passed parameters will then update and display. Otherwise you could have the cgi program generate a page with a page that pointed to the update html file in a META REFRESH TAG something like...
    <HTML><HEAD> <META HTTP-EQUIV="refresh" Content="1"; URL=http://mysite.com/updatedp +age.html> </HEAD> <BODY> If your browser doesn't automatically redirect you click <A HREF=http: +//mysite.com/updatedpage.html>here</A> </BODY> </HTML>