Page 1 of 1

http_xproc() & repeated requests

Posted: Tue Sep 19, 2023 1:25 pm
by jtaylor
If I'm making a number of http_url_post() in succession, do I have to call http_xproc() for each one? If the info is retained, how do I clear it when I need to move on to different http_url_post() calls?


TIA

Re: http_xproc() & repeated requests

Posted: Tue Sep 19, 2023 5:37 pm
by Scott Klement
It is retained for the life of the activation group (unless you clear it.)

You can clear it by setting the exit point to null. Using the debug exit point as an example:

Code: Select all

http_xproc( HTTP_POINT_DEBUG: *null: *null);
Obviously that first parameter should be changed to the specific exit point that you want to clear.

Re: http_xproc() & repeated requests

Posted: Wed Sep 20, 2023 2:13 pm
by jtaylor
Perfect, thank you!