View previous topic :: View next topic |
Author |
Message |
tony
Joined: 08 Dec 2004 Posts: 4
|
Posted: Mon Dec 13, 2004 10:09 am Post subject: ASP server-side validation or cleint JavaScript validation? |
|
|
Hi,
I have a form in my Order.asp page, and I want to validate the values entered in this form, to avoid saving bad data in my database. Which one is better to do, ASP server-side validation or cleint JavaScript validation?
Or maybe both?
Thanks,
-- Tony |
|
Back to top |
|
|
administrator Site Admin
Joined: 01 Oct 2004 Posts: 183
|
Posted: Mon Dec 13, 2004 10:50 pm Post subject: |
|
|
Both ASP server-side and JavaScript client-side validations are important.
I would advise you to do both, which will ensure data entry integrity and will make your applications more secure.
Cheers _________________ Peter
ASP & ASP.NET Articles and Tutorials |
|
Back to top |
|
|
tony
Joined: 08 Dec 2004 Posts: 4
|
Posted: Tue Dec 14, 2004 9:50 am Post subject: |
|
|
Thanks Peter
I'll follow your advice and I'll do both ASP server-side and Javascript client validation.
-- Tony |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2002 phpBB Group
|