Easily implement online customer service (simple QQ chat feature) with Application

xiaoxiao2021-03-06  14

A few days ago, I saw a lot of web websites instant messages on the Internet. Most of the XML did, helplessness for my slow people (XML saw it for a month, I still didn't understand how to use it), I have to look at it. .

There is no way to use the Application from the C # corner to use it. (Although they listen to the efficiency of the implementation than the WebService). Oh, nonsense, but I am still a bit blush in front of the master in front of the master, huh, huh.

(1) Deposit into user list

Deposit your username to Application

code show as below:

String user = server.URLDECode (Request.QueryString ["User"]);

Session ["UserName"] = User;

Application ["onlineuser"] = session ["username"]. TOSTRING () ","

Response.write ("