Validating html registration form in perl

Form validation normally used to occur at the server, after the client had entered all the necessary data and then pressed the Submit button.If the data entered by a client was incorrect or was simply missing, the server would have to send all the data back to the client and request that the form be resubmitted with correct information.

For most of these activities the user typically needs to register and then log in to the Web site.

These basic features require special care; they need to be simple, fast and secure for the user.

From the developer's perspective, thanks to the new techniques, the implementation of these features gets easier every day.

In this article, you will learn how to bring a handful of these technologies together and implement a very simple login feature for your Web site.

It provides both linear and object-oriented frameworks for CGI scripting, allowing you to programmatically generate HTML markup and form fields, examine POST and GET variables, set and read cookies and sessions, and interface with external environment variables.