Patent ID: 7200818

Claim:
A method of handling messages from a Web application at a Web server to a client browser at a user machine comprising: inserting a message handler in a top level document of the Web application; inserting a writeable block in a first window in a first page of the Web application, the writeable block for receiving a message generated by the Web application, the message to be received while servicing a Web application request from the client browser at the user machine to produce a response to the Web application request, wherein the message is in addition to the response; receiving at the Web server a Web application request for a second page of the Web application; generating the second page; determining if the message is generated by the Web application while servicing the Web application request; responsive to a determination that the message is generated, inserting a message script in a second window of the second page of the Web application, wherein the message handler is invoked in response to the message script; and returning the second page to the client browser on the user machine, wherein the second page includes the response to the Web application request and the message, if the message is generated.