> We have continued our investigations and worked around the problem by
> implementing the A4D_PostExecutionHook to populate the response header
> with the required headers to allow the cross origin request to our JSON
> API.

Theoretically those headers could be added within Active4D code.


> Despite a valid sid value being properly populated either as a query
> string parm or a form variable during the post request, A4D does not seem
> to find the session and give access to it in the executable.
> 
> It works fine if we issue a get request but not with if we issue a post
> request.

It could be because there is a bug in 'hide session field', if that is what you 
are using to put the session id in the form. Use this:

<input type="hidden" name="<%= session local%>" value="<%= session id %>" />

Regards,

  Aparajita

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

Reply via email to