Have your ASP page store the request in a database, and have your background
process pick up new requests from the database.  You can send a confirmation
email when the background process has completed.  Alternatively, you could
look into MSMQ instead.

HTH,
Tore.

-----Original Message-----
From: Nabil Al-Hage Ali [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 04, 2002 5:34 PM
To: ActiveServerPages
Subject: ASP page in background



Hi,

I have an ASP application that registers a user and assigns for him an
automatic ID and 
a welcome message. The trick is that there exists a backgroud process that
creates 
profile and directories and userAccounts..etc and that takes a long time.
what i need is 
to make this work in the background by the time the user has recieved his Id
and left my 
web application.

the process that works in the backgroud could be an ASP Page that calls a
Dll or a vb 
script that calls a DLL or an exe.

Another related question:
if on insert i fire a trigger in SQL Server 2000, does the application wait
for the 
trigger to complete or it just inserts the record and continues. I was
thinking of 
making use of sql server to fire a trigger that makes a call for shell
command if that 
works and i think sql server supports.


Any suggestions on these?

thanks

---
You are currently subscribed to activeserverpages as: [EMAIL PROTECTED]
To unsubscribe send a blank email to
%%email.unsub%%

---
You are currently subscribed to activeserverpages as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to