Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_web_howto thread: Execute a CGI Perl Script from ASP


Message #1 by "Daniel Watts" <danielwatts@c...> on Fri, 20 Sep 2002 23:35:48 +0100
Hi,

I'm having a problem with my server. I am forced to work with a default CGI
timeout of about 10 seconds. With ASP it is easy to extend this using the
Server.ScriptTimeOut = [numSecs] command. Unfortunately I cannot seem to
find the equivalent for PERL scripts.

My idea thus is to create an ASP script that will set the timeout and then
call my PERL script to run. Hopefully the extended cgi timeout from the ASP
will then allow my orignal script to run to completion.

My question is: How does one execute one NON-ASP script from within an ASP
script? I tried the Server.Execute("myProg.pl") command and just got the
perl text file printed in my browser. (I wasn't suprised!)

I cannot access nor install any new softare on my server (Windows 2000).
Everything must be done through scripts.


If anyone could help me out here that would be great.


Sincerely,
Daniel Watts


  Return to Index