If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > want to send a database command and keep working

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-26-06, 13:43
blmgyossi blmgyossi is offline
Registered User
 
Join Date: May 2006
Location: New York
Posts: 15
want to send a database command and keep working

I want to send a database command from ASP and continue doing other things without waiting for the DB to finish. Is that possible using classic ASP
Reply With Quote
  #2 (permalink)  
Old 09-28-06, 11:25
wayneph wayneph is offline
Registered User
 
Join Date: Aug 2005
Location: D/FW, Texas, USA
Posts: 78
I've never seen it acomplished. IF it is possible, I believe you would need to write some sort of VB6 COM component to do the work. Then you could potentially call a method of your COM component to start the process and return. Very possible in .NET, but I don't think so in Classic.

Are you trying to get something that runs between page calls? Or are you just looking for something to start and be finished by the time your page is done generating?

If it's the former, you may be able to insert a record into a table, and have a process on the server looking for new records. Then it would run in the back ground, and all the page would have to wait for is the single record insertion. (Similar to a Message Queue.)
__________________
--wayne
SELECT * FROM Users WHERE Clue>0
0 rows returned
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On