Yes - it has been switched but see my note below:
This is weird. When I run the code on the PC server it works as
designed,
but it runs on the 2003 On Web Connection code even though we are
using 4D
2004.6r2 to serve the site. When I run the script on the Mac, its
using 4D
2004.6r2 with the 2004 code in On Web Connection and it fails on the
redirect. Any thoughts?
If I remember correctly I made a change to the 4D 2004 code that
might help. Try this:
`-----------------------------------------------------------------------
---
` 4D 2004+ code
`-----------------------------------------------------------------------
---
C_BLOB($response)
For ($i;1;Size of array(A4D_ResponseHeaderNames))
TEXT TO BLOB(A4D_ResponseHeaderNames{$i}+":
"+A4D_ResponseHeaderValues{$i}+"\r\n";$response;Text without length ;*)
End for
`Need an extra CRLF after the headers to separate them from the body
TEXT TO BLOB("Connection: close\r\n\r\n";$response;Text without
length ;*)
COPY BLOB(A4D_Response;$response;0;BLOB size($response);BLOB size
(A4D_Response))
SET BLOB SIZE(A4D_Response;0)
SEND HTTP RAW DATA($response)
`-----------------------------------------------------------------------
---
` End of 4D 2004+ code
`-----------------------------------------------------------------------
---
Regards,
Aparajita
www.aparajitaworld.com
"If you dare to fail, you are bound to succeed."
- Sri Chinmoy | www.srichinmoylibrary.com
_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/