• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 168
  • Last Modified:

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.
0
SteveWood
Asked:
SteveWood
  • 2
1 Solution
 
sybeCommented:
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

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now