Patent ID: 8356246

Claim:
In a manufacturing execution system including a browser at a client side and a web-server and a server at a server side, a method for notifying a client on server disconnection, the method which comprises: at engineering time: a) defining actions to be executed at run time in case of a loss of a client-server connection, including the following sub-steps: inserting, in a configuration file, data pointing to a custom function for implementing actions to be executed in case of the disconnection event; placing code defining the actions to be implemented by the custom function into a function file; storing the function file on the web-server; at run time: b) with the browser, requesting from the web-server a certain page to be displayed; c) with the web-server, retrieving custom function data from the configuration file; d) with the web-server, embedding in the certain page to be loaded by the Internet browser the following data: the custom function data, the custom function file, and data for creating a communication component; e) loading the certain page with the Internet browser; f) with the web-server, initiating the server at the server side to maintain a connection to the client side; g) creating a communication component at the client side from the certain displayed page, for maintaining a connection to the server; on occasion of the loss of the client-server connection: h) with the server, notifying the communication component about the loss of the client-server connection; i) with the communication component, notifying the certain displayed page about the disconnection; and j) executing the custom function with the certain displayed page.