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.

Reply via email to