Solved

Urgent - ASP Calling ASP or SQL

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
WEB Farm 6 64
Widget to get customer remakrs in our website. 3 48
Any Third party toll for Integrating chat system on ASP.NET ? 2 34
Best practice for a landing page 3 47
Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
"In order to have an organized way for empathy mapping, we rely on a psychological model and trying to model it in a simple way, so we will split the board to three section for each persona and a scenario and try to see what those personas would Do,…
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:
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…

895 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now