It would be easier to give you more guidance if you could flesh out your 
scenario a little.  A couple questions:

1.     Where are you running this script from?  Is it from one of the virtual 
servers or somewhere else?

2.     Do you care what URL the user ends up at?

3.     Do you care what the user sees at the end?

4.     By "virtual servers", do you mean nsd virtual hosts on the same 
AOLserver instance?

I'm guessing that actually the source command won't do it and you'll need to 
run ns_httpget on at least one of the pages, but which one(s) depends on the 
answers to the questions above.

Titi Ala'ilima
Lead Architect
MedTouch LLC
1100 Massachusetts Avenue
Cambridge, MA 02138
617.621.8670 x309

From: AOLserver Discussion [mailto:[EMAIL PROTECTED] On Behalf Of Yazan Jadaa
Sent: Thursday, October 11, 2007 4:15 AM
To: [email protected]
Subject: Re: [AOLSERVER] ad_returnredirect


Thanks for the prompt response, and you are right as I want to make that file 
run on that webserver. I tried the source thing, but I don't think I used it 
correctly, so can you please provide an example on how to source the file on 
the other webserver...
Thanks in advance...
________________________________
Date: Wed, 10 Oct 2007 07:01:22 -0700
From: [EMAIL PROTECTED]
Subject: Re: [AOLSERVER] ad_returnredirect
To: [email protected]
ad_returnredirect sends a redirect response (302) to the browser.  But the 
browser will only get one response per request.  So the second one does 
nothing.  Do you want to just execute the second file, or do you want them to 
be sent to the second page after the first?  For the former, you could try 
sourcing the file.  For the latter you would need to have the first page 
perform the redirect (or source the first and redirect to the second in this 
file).

Titi Ala'ilima
Lead Architect
MedTouch LLC
1100 Massachusetts Avenue
Cambridge, MA 02138
617.621.8670 x309

From: AOLserver Discussion [mailto:[EMAIL PROTECTED] On Behalf Of Yazan Jadaa
Sent: Wednesday, October 10, 2007 8:30 AM
To: [email protected]
Subject: [AOLSERVER] ad_returnredirect

Hi,

I have two virtual servers ,and I want to access a tcl file in both of them 
using ad_returnredirect:

ad_returnredirect "path"

ad_returnredirect "path2"

The thread continues running after the file in the first path is reached, 
however, the file in the second path (path2) is not reached, as if the second 
ad_returnredirect doesn't exist!
Any idea why is that happening? Is there another command that I can use that 
will do me the job?


Thanks and Regards,


________________________________
Peek-a-boo FREE Tricks & Treats for You! Get 
'em!<http://www.reallivemoms.com/?ocid=TXT_TAGHM&loc=us>



--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> 
with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: 
field of your email blank.



--

AOLserver - http://www.aolserver.com/



To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> 
with the

body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: 
field of your email blank.



________________________________
Boo! Scare away worms, viruses and so much more! Try Windows Live OneCare! Try 
now!<http://onecare.live.com/standard/en-us/purchase/trial.aspx?s_cid=wl_hotmailnews>





--

AOLserver - http://www.aolserver.com/



To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> 
with the

body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: 
field of your email blank.


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> 
with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: 
field of your email blank.

Reply via email to