Try OpenEdge Now
skip to main content
Developing AppServer Applications
Programming the AppServer : Controlling AppServer entry points : Calling the EXPORT( ) method : Resetting the export list
Resetting the export list
At any time while servicing a connection, you can modify any existing export list by adding to the list or resetting the list. Thus, for example, if the list contains "order.p,stock.p", you can add "payment.p", as shown:
lReturn = SESSION:EXPORT("payment.p").
This, then, expands the list to "order.p,stock.p,payment.p".
If at any point, you want to completely reset the list, do the following:
lReturn = SESSION:EXPORT(). /* Reset to empty */
lReturn = SESSION:EXPORT("special-order.p,special-stock.p").
At this point, the AppServer agent only accepts remote procedure calls to special-order.p and special-stock.p.