Patent ID: 8370737

Claim:
A data insertion server (DIS) apparatus that adds data to a requested web page in an intermediate node between a mobile device and a web site, the DIS comprising: an HTTP proxy; a request-handler processor (RHP); a markup-language-file-handler processor (MLFHP); and a surfing session table accessible by the HTTP proxy and RHP for the storage surfing session data; wherein said HTTP proxy is configured to: intercepts the data traffic between the mobile device and the web site; routes a request for a markup language file that describes the requested web page to said RHP, wherein the request is obtained from the mobile device; and routes a response to the request toward said MLFHP, wherein the response is obtained from the web site; wherein said RHP is configured to: identify the mobile device capabilities and the web site features; and updates the surfing session table accordingly; wherein said MLFHP, based on the information of the session stored in the surfing session table entry, is configured to: processes the received markup language file to: identify a location for adding the data in the response; identify one or more links to internal markup language files; mark the links to internal markup language files; and adds the data to the received markup language file; and wherein said surfing session table has a plurality of entries, each of the entries is a associated with a session and contains information on the capabilities of the mobile device, features of web site and data on the requested web page.