473,473 Members | 1,581 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Use asp to trigger a 2nd asp???

I want to use a asp page to trigger a 2nd asp file. and return immediately.

#2 does not have any user interface, it simply manipulates some data and
writes a report to a log.

I want #2 to run in the background while I continue with other operations.

Any ideas how to do this?

TIA

Jul 19 '05 #1
4 1463
yabba wrote on 13 nov 2003 in microsoft.public.inetserver.asp.general:
I want to use a asp page to trigger a 2nd asp file. and return
immediately.


You cannot do this serverside, I think, without ending that second page.

You will have to do that with clientside code.

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Jul 19 '05 #2
From the server side, I think no way.
because you want #2 to run in the background while
you continue with other operations.

but from the clientside, before submitting, you can open a
little popup and make it call the second ASP

HTH
Roji
"yabba" <ya****************@bigfoot.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
I want to use a asp page to trigger a 2nd asp file. and return immediately.
#2 does not have any user interface, it simply manipulates some data and
writes a report to a log.

I want #2 to run in the background while I continue with other operations.

Any ideas how to do this?

TIA

Jul 19 '05 #3
If you want to run it in the background only, then you should be okay with
changing it from a .asp file to a .vbs/.js file. Then you can use the
method described here to execute it in the background without having to wait
for it to complete. http://www.aspfree.com/articles/644,1/articles.aspx

Ray at work

"yabba" <ya****************@bigfoot.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
I want to use a asp page to trigger a 2nd asp file. and return immediately.
#2 does not have any user interface, it simply manipulates some data and
writes a report to a log.

I want #2 to run in the background while I continue with other operations.

Any ideas how to do this?

TIA

Jul 19 '05 #4
Place the following code in an ASP file and include on all pages.

Just do this to make a call to page 2.
ProcessUrl "http://server/page2.asp?VAR1=??&VAR2=??

HTH

<SCRIPT language="vbscript" runat="server">
Public Sub ProcessUrl(strUrlAddress)
On Error Resume Next
Set objXMLHTTP = Server.CreateObject("Microsoft.XMLHTTP")
objXMLHTTP.open "GET",strUrlAddress, True
objXMLHTTP.send
Set objXMLHTTP = Nothing
End Sub
</SCRIPT>
-dlbjr

Discerning resolutions for the alms
Jul 19 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Matik | last post by:
Hello to all, I have a small question. I call the SP outer the DB. The procedure deletes some record in table T1. The table T1 has a trigger after delete. This is very importand for me, that...
6
by: Scott CM | last post by:
I have a multi-part question regarding trigger performance. First of all, is there performance gain from issuing the following within a trigger: SELECT PrimaryKeyColumn FROM INSERTED opposed...
9
by: Martin | last post by:
Hello, I'm new with triggers and I can not find any good example on how to do the following: I have two tables WO and PM with the following fields: WO.WONUM, VARCHAR(10) WO.PMNUM,...
6
by: Mary | last post by:
We are developing a DB2 V7 z/OS application which uses a "trigger" table containing numerous triggers - each of which is activated by an UPDATE to a different column of this "trigger" table. When...
0
by: Dave Sisk | last post by:
I've created a system or external trigger on an AS/400 file a.k.a DB2 table. (Note this is an external trigger defined with the ADDPFTRG CL command, not a SQL trigger defined with the CREATE...
0
by: JohnO | last post by:
Thanks to Serge and MarkB for recent tips and suggestions. Ive rolled together a few stored procedures to assist with creating audit triggers automagically. Hope someone finds this as useful as...
1
by: deepdata | last post by:
Hi, I am creating a trigger in DB2 express version. When i use the following syntax to create trigger CREATE TRIGGER USER_PK_TRIGGER BEFORE INSERT On users REFERENCING NEW As N FOR EACH...
9
by: Ots | last post by:
I'm using SQL 2000, which is integrated with a VB.NET 2003 app. I have an Audit trigger that logs changes to tables. I want to apply this trigger to many different tables. It's the same trigger,...
7
by: Shane | last post by:
I have been instructed to write a trigger that effectively acts as a foreign key. The point (I think) is to get me used to writing triggers that dont use the primary key(s) I have created the...
11
by: tracy | last post by:
Hi, I really need help. I run this script and error message appeal as below: drop trigger log_errors_trig; drop trigger log_errors_trig ERROR at line 1: ORA04080: trigger 'LOG_ERRORS-TRIG'...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.