2006/10/24, Barry Nauta <[EMAIL PROTECTED]>:
> On Tuesday 24 October 2006 15:58, Mika Tuupola wrote:
> > On Oct 24, 2006, at 14:43, Robert Wagner wrote:
> > > how about that:
> > > if an error occours, let the server send a 500 header and the error
> > > message as a content.
> > >
> > > header("HTTP/1.1 500 Internal Server Error");
> > > print("this cannot be done.");
> >
> > Agreed. I find error headers to be more elegant and universal
> > solution than sending "ERROR" string in a reply.  Will implement this
> > soon(ish).
>
> Just my $0.02: I find this odd. Imagine that you want some processing to be
> done based on the input (i.e. server side email address checking) (We all
> agree that any validation also needs to be performed at the serverside,
> right?).
>

that was my attempt too at first. error checking = application logic =
write my own structures etc.
but then think about error handling as a very basic thing that is
already implementet in webserver, ajax functions etc. why not using
this infrastructure? it's straightforward, ready to use...
-robert

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to