| Author |
How to call a stored proc asynchronously
|
|
| Dennis 2004-05-30, 11:53 am |
| Is it possible to call a stored procedure asynchronously from an ASP page?
We would like to be able to execute a proc and have the page continue to
process without having to wait for the proc to finish. I know you can make
a dll and call it from there, but we'd rather just be able to keep it simple
and call it from the page if we can.
| |
| Aaron Bertrand - MVP 2004-05-30, 11:53 am |
| This is what the adAsyncExecute flag is for.
http://www.aspfaq.com/2194
--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/
"Dennis" <dbronstein@yahoo.com> wrote in message
news:u1dY7q1QEHA.3748@TK2MSFTNGP09.phx.gbl...
> Is it possible to call a stored procedure asynchronously from an ASP page?
> We would like to be able to execute a proc and have the page continue to
> process without having to wait for the proc to finish. I know you can
make
> a dll and call it from there, but we'd rather just be able to keep it
simple
> and call it from the page if we can.
>
>
| |
| dlbjr 2004-05-30, 11:53 am |
| An easy way is to have two asp pages. One is the page with an XMLHTTP call to the other.
This will allow the main page to process at the same time the asynchronous XMLHTTP call processes
the data on the other asp and places the result in the main page.
'from dlbjr
'Unambit from meager knowledge of inane others,engender uncharted sagacity.
|
|
|
|