![]() Topic awaiting preservation: Validating on client side or server side? (Page 1 of 1) |
|
---|---|
Paranoid (IV) Inmate From: NZ |
![]() Hi, guys. I have to ask you this as well. |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
![]() Hiroki: quote:
|
Paranoid (IV) Inmate From: NZ |
![]() Hi, Emp. Glad to hear from you! quote:
|
Maniac (V) Mad Scientist From: Belgrade, Serbia |
![]() |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
![]() Yeah, since JavaScript isn't reliable (making sure your page works even with javascript turned off is always a good idea), you always need to do validation on the server side. Doing validation on the client side is an optional extra, because that gives the user immediate feedback (like you said) that their input isn't valid. But never rely on JavaScript to stop the user from doing something that could be dangerous to your web site or server. |
Paranoid (IV) Inmate From: NZ |
![]() Hi, guys. quote:
|