From: | Dennis Gearon <gearond(at)cvc(dot)net> |
---|---|
To: | Richard Huxton <dev(at)archonet(dot)com> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, psql-mail(at)freeuk(dot)com, pgsql-general(at)postgresql(dot)org |
Subject: | Re: Perl DBI::Pg - Stop button |
Date: | 2003-05-07 15:41:35 |
Message-ID: | 3EB9292F.2000804@cvc.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
What does 'out of band' mean, ( except a entertainment booking agent's worst nightmare ;-)?
Richard Huxton wrote:
> On Wednesday 07 May 2003 3:55 am, Tom Lane wrote:
>
>>Mr Mat psql-mail <psql-mail(at)freeuk(dot)com> writes:
>>
>>>Whats the best way to terminate a query when the user presses the stop
>>>button?
>>
>>Send a cancel request.
>>
>>I don't know whether the DBI/DBD stack supports that though :-(
>
>
> I think the thrust of Matt's question was whether there is any way to know
> when the user presses "stop" in their browser from the server end.
> Unfortunately, since HTTP is a stateless protocol, the short answer is no.
>
> This is of course simple if you have a java applet sitting on your page
> connecting to your server - it can signal out of band.
>
> [Not often I follow-up a post by Tom ;-]
From | Date | Subject | |
---|---|---|---|
Next Message | scott.marlowe | 2003-05-07 15:45:02 | Re: select offset by alphabetical reference |
Previous Message | scott.marlowe | 2003-05-07 15:38:36 | Re: Server error |