Urgent - ASP Calling ASP or SQL

How can I get an ASP page to either run a function within itself or SQL stored procedure without waiting for a response, i.e. kick it off but move on don't worry about waiting for any returned values.
LVL 1
SteveWoodAsked:
Who is Participating?
 
sybeConnect With a Mentor Commented:
There should be some invisible return, in a hidden frame or in an image. When you do it as an image, you'll have return some code,
<img src="runthisfile.asp" width=1 height=1>

============
runthisfile.asp
============

<%
Response.ContentType = "image/GIF"
' your code here


%>
<!-- #include virtual="/images/pixel.gif" -->

0
 
SteveWoodAuthor Commented:
Sybe,

Soory for being a bit thick, but will this result in my calling asp running at the same time as the called asp, i.e. will they both end up running simaltaneously.  I don't want the calling asp to stop while the called asp is running.

I'll accept or reject your answer when you can clarify this for me.  Cheers.
0
 
SteveWoodAuthor Commented:
Ignore my last little message.  I have just carried out some tests and the speed difference is startling.  75% faster on my function.  WOW.

Thanks for you quick response.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.