Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Avoiding Connection Timeout

Status
Not open for further replies.

DariceLR

MIS
Jun 20, 2001
27
US
I have an asp page, utilizing VBS, that imports a file, reads through it, does some validation and spits out the data to be imported to a database. My question is:
The validation and reading of the file takes too long and causes a connection timeout. I have made the asp page such that all it does is import the file and call a batch file which in turn calls a .vbs to do the validation and import of the data.

How do I transfer control to the batch file so that it is in control, preventing the timeout?

Thanks in advance! ****************
DariceLR
:-{} :-V
****************
 
You can't, but you can raise the timeout setting.

Server.ScriptTimeout = 60 '60 Second timeout
 
So... there is NO WAY that I can possibly delay a batch from running or have it run later, after the asp page is finished? If I kick the batch or vbs from an asp page, the asp page will still count that as part of it's connection? ****************
DariceLR
:-{} :-V
****************
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top