XMLHTTP introduction

xiaoxiao2021-03-06  93

Use of XMLHTTP components in ASP development

The current ASP technology is increasingly mature, most developers can only use the ASP self-contained objects and database components in the development to interact between clients and web servers. I now introduce two very useful components XMLDocument, XMLHTTP, and several features they can implement, I believe that it can bring some new ideas to ASP development. Any development must be based on demand, we don't introduce how to use these two components, what can they do? In we use their simple features to understand their various methods. Function 1: Topical Static Refresh Hypothesis for Implementing the page: You need to display the current number of people in all pages. The current online number is stored in the server's global variable Application ("Online_num").

General Method: 1. Place an internal frame label (