Hi Folks

I was wondering if anyone could shine some light on why I might be experiencing this.

(I am aware that this could be a bug report '0000921' symptom but don't know, see http://www.aparajitaworld.com/tracker/view.php?id=921)

In a piece of Active 4D script, I call...

set response status(410)

...(for example).

Then, in the shell code...

$STATUS:= A4D Execute 4D request

.. the $STATUS correctly receives 410, the code I set in the page script, however, the contents of the array returns in 'outheaderValues' and 'outResponse' are not consistent with this - they still contain 200. (This is confirmed at the browser which reports (Firebug) a 200 response code).

If I do this...

ouheaderValues{A4D Response Status}:=$STATUS

... then everything works fine - the browser receives the reponse code I set in the page script.

I would like to know if there is any problem with this approach, and hopefully why they are inconsistent in the first place.

Best Regards

Peter

(Active4D 4.0.2 [Mac/Mach-O, release, 4D, Mono]
4D 2004.7 Developer
MacBook Pro)


_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Reply via email to