Solved

Urgent - ASP Calling ASP or SQL

Posted on 1998-11-20
3
155 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SharePoint 2013 Searchbox Branding 11 109
how to build a intranet site 8 42
How to call weather service by using asmx? 4 44
Un-Indent Setting Notepad++ 3 18
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
An enjoyable and seamless user experience can go a long way on an eCommerce site. While a cohesive layout and engaging copy play roles in creating a positive user experience, some sites neglect aspects that seem marginal but in actuality prove very …
The viewer will learn how to dynamically set the form action using jQuery.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

789 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