For web based applications we may have 2 type of verifications , one at the front end and one at back-end(also called back session). So if we look at the client-server architecture the client is referred to the web browser while server is a common machine which shares data on request across all the clients.
So server side verification is required when we need server resources to validate the input given by user while client side verification does not requires server resources.
For example : Suppose we are trying to login any application or tool and our email id and password is required condition is that the password should be minimum of 8 characters :
so lets suppose we give the credentials as :
Username : pratyush37.gmail.com
password: prats123
So here we don't need a server side verification because the format is wrong of email and the password only contains 7 characters . So we need not to send any response to server for this.
Here we create a small script to check the user input, those scripts are either created in VB or java.
For server side verification we send request to server to validate the input given by user ,here server side scripting language like PHP or ASP.net is used. These scripts checks the input against the database at server side.
The client verification is at browser level and it reduces the traffic as we are not sending request to server for wrong data.Also client verification is fast than the server.
So server side verification is required when we need server resources to validate the input given by user while client side verification does not requires server resources.
For example : Suppose we are trying to login any application or tool and our email id and password is required condition is that the password should be minimum of 8 characters :
so lets suppose we give the credentials as :
Username : pratyush37.gmail.com
password: prats123
So here we don't need a server side verification because the format is wrong of email and the password only contains 7 characters . So we need not to send any response to server for this.
Here we create a small script to check the user input, those scripts are either created in VB or java.
For server side verification we send request to server to validate the input given by user ,here server side scripting language like PHP or ASP.net is used. These scripts checks the input against the database at server side.
The client verification is at browser level and it reduces the traffic as we are not sending request to server for wrong data.Also client verification is fast than the server.
No comments:
Post a Comment