Topic awaiting preservation: Validating on client side or server side? (Page 1 of 1) |
|
---|---|
Paranoid (IV) Inmate From: NZ |
posted 07-24-2003 00:23
Hi, guys. I have to ask you this as well. |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
posted 07-24-2003 00:29
Hiroki: quote:
|
Paranoid (IV) Inmate From: NZ |
posted 07-24-2003 00:38
Hi, Emp. Glad to hear from you! quote:
|
Maniac (V) Mad Scientist From: Belgrade, Serbia |
posted 07-24-2003 01:48 |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 07-24-2003 03:26
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 |
posted 07-25-2003 01:38
Hi, guys. quote:
|