No announcement yet.

About Server Side Validation

  • Filter
  • Time
  • Show
Clear All
new posts

  • About Server Side Validation

    I have heard about server side scripts, but this is something different.

    What is server side validation?

    How does it works and where it is used?

    What is the exact difference between server side and client side validation?

    What are syntaxes of it?

    Please explain it in details as I am not aware of it much, explaining with an example would be great!

  • #2
    Client side validation refers to the process that runs in the browser and checks if the form values are of the correct type. Whereas, the Server side validation checks the code which is submitted to make sure it is correct. An ideal application should use both these validations.
    For a basic reason that it'd be possible for anybody to write a form which calls your .asp page - they might not use client side validation and would probably stuff garbage in it.