I'm not sure about the method you're using, but if the script you're
running can be run as an ASP page you could kick it off using an
asynchronous MSXML HTTP call to the page which would start it processing
but not wait for the result to be returned.
 
Dan

________________________________

From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of
coder20180
Sent: 08 November 2005 18:59
To: [email protected]
Subject: [AspClassicAnyQuestionIsOk] asynchronous script execution


I'm working on a classic asp page, which executes a separate script.  
The goal is to have the server execute code which the user will not 
have to wait for the completion of.  This separate script would also 
generate an email at the end, using CDO.Message.  As a proof of 
concept, I created an ASP page that uses WScript.Shell, to run 
cscript.exe in order to kick off a .wsf file, which contains the email 
code.  -But it doesn't work, and I don't know why.  

-I can execute the .wsf script locally, using cscript from a command 
line.  -I know the server is configured correctly to send email, 
because if I copy and paste the email code into the initial asp page, 
it works.  But when I try to execute the wsf from the asp, it no 
longer works.  Can anyone explain why?  I'm new to ASP, so would 
appreciate hearing other methods of executing asynchronous scripting, 
other than the method I'm attempting to use.  Hope that's enough 
information, thanks in advance...







________________________________

YAHOO! GROUPS LINKS 


        
*        Visit your group "AspClassicAnyQuestionIsOk
<http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk> " on the web.
          
*        To unsubscribe from this group, send an email to:
         [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]
subscribe> 
          
*        Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service <http://docs.yahoo.com/info/terms/> . 


________________________________




[Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/saFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to