Validating asp application dating from
(Access uses 0 for False, and -1 for True.) In table design, open the Properties box and you see another Validation Rule. The rule is applied after all fields have been entered, just before the record is saved.
The CGI script is still more reliable, as it always works regardless of whether Java Script is enabled on the client-side or not; but having this extra safety barrier is a nice thing to have in place.It makes your page much more user-friendly, and takes out the frustration of having to fill out the same form repeatedly.It's also very precise, as you can point out the exact field where there's a problem.When you submit a form to a CGI program that resides on the server, it is usually programmed to do its own check for errors.If it finds any it sends the page back to the reader who then has to re-enter some data, before submitting again.
Search for validating asp:
For example, if you use HTML entity encoding on user input before it is sent to a browser, it will prevent most XSS attacks.