Solved

Urgent - ASP Calling ASP or SQL

Posted on 1998-11-20
3
154 Views
Last Modified: 2013-12-25
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
Comment
Question by:SteveWood
  • 2
3 Comments
 
LVL 28

Accepted Solution

by:
sybe earned 100 total points
ID: 1856558
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
 
LVL 1

Author Comment

by:SteveWood
ID: 1856559
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
 
LVL 1

Author Comment

by:SteveWood
ID: 1856560
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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Stupid git question 2 85
modify h2 4 114
Where can I find... 1 30
manage footer size 4 51
Read about why website design really matters in today's demanding market.
Get to know the ins and outs of building a web-based ERP system for your enterprise. Development timeline, technology, and costs outlined.
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
The viewer will learn how to count occurrences of each item in an array.

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question