In fact the problem does not stand under 4D server but under 4D
standalone.
While auto create vars is set to Off in both server and standalone,
vars are
automatically created under standalone when a query parm is passed
to A4D
execute text bt not under server.
I just created a test method in my demo:
ARRAY TEXT($requestInfo;4)
$requestInfo{1}:="127.0.0.1"
$requestInfo{2}:="127.0.0.1"
$requestInfo{3}:="8080"
$requestInfo{4}:="0"
ARRAY TEXT($headerNames;0)
ARRAY TEXT($headerValues;0)
C_BLOB($response)
C_TEXT($0)
$result:=A4D Execute text ("<%=_query{\"test\"}%>";"test=foobar";
$requestInfo;$headerNames;$headerValues;$response)
$0:=BLOB to text($response;Text without length)
I ran the demo on Server and executed 'write(doTest)' in Active4D. It
worked as expected. So I'm not quite sure why it isn't working for
you, because there is absolutely nothing in Active4D's code that
differentiates between standalone and Server.
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/