Mohamed Inayath wrote:Strange..!
If I have to do a sanity check, like for example lenght check, null check or in this case character check.
I have to post a request from the client to server if its invalid then again post the request with a change.
Will it not be feasible to have basic sanity check on the client side and have a pure business check validation at the server side.
Yes it will be feasable and probably quite a helpful thing to do. My point is you cannot rely on client side validation alone, because you can't guarentee it is being run.