Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Cancel process when HTTP request is cancelled

Former Member
0 Likes
971

Hi,

I get a synchronous HTTP call from a web application. This call is sometimes cancelled by the user by closing the application. However in ECC the process keeps on running.

Is there a way to have this process cancelled when the calling session is cancelled? (eg system parameters)

Best Regards

Ron

2 REPLIES 2
Read only

Former Member
0 Likes
631

The network timeout parameters might be relevant for your case, see SAP note 824554 and Timeout Options for ICM and Web Dispatcher - SAP Web Dispatcher - SAP Library for details. Notice however if the application layer disconnects but the network layer doesn't it is up to the application to realize the disconnect. If there is no logic in the application layer, you can always rely on the network layer timing out. Typically it makes sense to have a fairly small session timeout as well so that resources consumed by disconnected clients are freed for others to use.

Read only

0 Likes
631

Hi Samuli,

Thanks for the info but I don't think these are the parameters I'm looking for.

icm/traffic_control is coming close to it bút I think it's only for outgoing connections and I'm looking for incoming connections.

Ron