ASP Hosting sale!
Double disk space and transfer for FREE!
Limited time offer! Act Now!

aspdev | articles | tutorials | forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

ASP server-side validation or cleint JavaScript validation?

 
Post new topic   Reply to topic    ASPdev.org Forum Index -> ASP programming
View previous topic :: View next topic  
Author Message
tony



Joined: 08 Dec 2004
Posts: 4

PostPosted: Mon Dec 13, 2004 10:09 am    Post subject: ASP server-side validation or cleint JavaScript validation? Reply with quote

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
View user's profile Send private message
administrator
Site Admin


Joined: 01 Oct 2004
Posts: 183

PostPosted: Mon Dec 13, 2004 10:50 pm    Post subject: Reply with quote

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
View user's profile Send private message
tony



Joined: 08 Dec 2004
Posts: 4

PostPosted: Tue Dec 14, 2004 9:50 am    Post subject: Reply with quote

Thanks Peter

I'll follow your advice and I'll do both ASP server-side and Javascript client validation.


-- Tony
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    ASPdev.org Forum Index -> ASP programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
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

SQL Tutorial