Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_web_howto thread: Calling ASP from another ASP


Message #1 by "NaveenG" <naveeng@s...> on Fri, 14 Dec 2001 16:22:05 +0530
This is a multi-part message in MIME format.



------=_NextPart_000_00B0_01C184BB.787F1630

Content-Type: text/plain;

	charset="iso-8859-1"

Content-Transfer-Encoding: quoted-printable



I want to call ASPProgram2 from ASPProgram1 something like function1 

calling function2 and after returning from function2, the sequence 

coming back to function1. Here I'm giving u an example,



ASPProgram1.asp                              ASPProgram2.asp

...                                                      ...

...                                                      ...

call ASPProgram2.asp                        ...

...                                                      ...

...                                                      ...    



Is it possible? If so how can I do this?

Thanks in advance

-Nav






Message #2 by Prakash <anp@a...> on Fri, 14 Dec 2001 16:54:45 +0530

--------------91435134D20BBCAE8108FAB5

Content-Type: text/plain; charset=us-ascii

Content-Transfer-Encoding: 7bit





Hi use this method, but this requires  ASP 3 (IIS 5/or psw with 2000)



<%@ language = vbscript%>       --- this is ASPProgram1.asp

---

-----

----  codes ----

Server.Execute("ASPProgram2")

---- back to asprogram1 again---







NaveenG wrote:



> I want to call ASPProgram2 from ASPProgram1 something like function1

> calling function2 and after returning from function2, the sequence

> coming back to function1. Here I'm giving u an

> example, ASPProgram1.asp

> ASPProgram2.asp...

> ......                                                      ...call

> ASPProgram2.asp

> ......

> ......                                                      ... Is it

> possible? If so how can I do this?Thanks in advance-Nav---



> $subst('Email.Unsub').






Message #3 by "NaveenG" <naveeng@s...> on Sat, 15 Dec 2001 12:00:43 +0530
This is a multi-part message in MIME format.



------=_NextPart_000_002F_01C18560.1FBCDC30

Content-Type: text/plain;

	charset="iso-8859-1"

Content-Transfer-Encoding: quoted-printable



I'm having IIS 5 but Server.Execute is not working. Please let me know 

what's problem in it

-Nav

  ----- Original Message -----

  From: Prakash

  To: ASP Web HowTo

  Sent: Friday, December 14, 2001 4:54 PM

  Subject: [asp_web_howto] Re: Calling ASP from another ASP





   

  Hi use this method, but this requires  ASP 3 (IIS 5/or psw with 2000)

  <%@ language =3D vbscript%>       --- this is ASPProgram1.asp

  ---

  -----

  ----  codes ----

  Server.Execute("ASPProgram2")

  ---- back to asprogram1 again---

   

   



  NaveenG wrote:



    I want to call ASPProgram2 from ASPProgram1 something like function1 

calling function2 and after returning from function2, the sequence 

coming back to function1. Here I'm giving u an example, ASPProgram1.asp  

                            ASPProgram2.asp...                           

                           ......                                        

              ...call ASPProgram2.asp                        ......      

                                                ......                   

                                   ... Is it possible? If so how can I 

do this?Thanks in advance-Nav---



$subst('Email.Unsub').




$subst('Email.Unsub').







  Return to Index