W3C home > Mailing lists > Public > www-forms@w3.org > April 2006

Re: Cancel a submission in progress

From: Allan Beaufour <beaufour@gmail.com>
Date: Wed, 5 Apr 2006 11:19:52 +0200
Message-ID: <90d6cb0e0604050219q597a27e6u7d757aea9dc89b26@mail.gmail.com>
To: sh@defuze.org
Cc: www-forms@w3.org

On 4/5/06, Sylvain Hellegouarch <sh@defuze.org> wrote:
> > If you just hit the "stop" button in your browser while retrieving or
> > sending data, what happens? I guess the browser just closed the
> > connection. "Bad things might happen", but that's an HTTP issue, not
> > an XForms issue is it?
> >
> >
> Very good point. But then again as you sau the browser does close the
> connection. Should a Cancel event in XForms do the same?

XForms should try to abstract from whatever transfer protocol is being
used. Cancelling the submission should trigger a "cancel in the chosen
protocol" -- whatever that might mean for the given protocol. For
HTTP, I would mean that means closing the connection.

--
... Allan
Received on Wednesday, 5 April 2006 09:20:03 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 10 March 2012 06:22:03 GMT