This is a discussion on should validation occur server side or client side?why? within the ASP and ASP.NET Programming forums, part of the Web Development category; Hi, can any one tell,Validation occur server side or client side?why? Thanks, Prasath.K...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
| |||
| Hi, can any one tell,Validation occur server side or client side?why? Thanks, Prasath.K Last edited by prasath : 07-18-2007 at 06:45 AM. |
| Sponsored Links |
| |||
| Mainly two type of information that need to be validated 1. Login Credentials (User Info) 2. Data Credentials Should be done on server side. Username and password that will be checked against the data stored in database. So in that case no validation on client side because it is not secure Data Validation Should be done on both side Because client side validation will prompt for specific and mandatory inputs and then server side validation of those data will check that its valid for the your specific purpose or its not malicious. Client side validation boost up the Performance of the server,Since No Round trip and Less no of Erroneous Data enter into the Server. The Main disadvantage is It is Insecure. every One can see the Coding using view source and alter and then Submit. While Server Side Validation is More secure and supports a lot of Langauages |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Client side JavaScript and and Server side Java Script | sathian | HTML, CSS and Javascript Coding Techniques | 2 | 11-09-2007 10:30 PM |
| client side validation for checkBox using ServerControlButton | itbarota | HTML, CSS and Javascript Coding Techniques | 1 | 09-26-2007 11:18 AM |
| difference between Client side JavaScript and and Server side Java Script? | Sundaram | HTML, CSS and Javascript Coding Techniques | 1 | 09-05-2007 11:46 AM |
| what are the Best practices for side-by-side execution of Framework 1.0 and 1.1? | kingmaker | ASP and ASP.NET Programming | 1 | 07-20-2007 04:41 AM |
| Diff between server and client side scripting | Jeyaseelansarc | PHP Programming | 0 | 05-18-2007 05:24 AM |