•It often appears to work faster than the CGI validation.
•Since the form page has not changed, it is easy for the reader to fix the errors.
Pros and Cons of Using CGI for Validating Forms
Pros •Using a CGI to validate ensures that every time the form is submitted, the validation will run.
Cons •CGI puts more load on the Web server, and every function that is included in the CGI is one more task for the server. •CGI can be slow to run. •If there is an error, the customer has to either go back to the first page of the form, or the CGI needs another function to rewrite the form page.