Write network pager with ASP

zhaozj2021-02-08  379

Dear friends who like to surf the Internet must have been to the NetEase's virtual community, and the tasting feature inside is going to be very loved. By passing the station, we can call any netizens currently surfing in the virtual community, you can implement online conversation.

In fact, we use the ASP to fully realize the same functionality in the network, how is it? Do not believe? Then follow me step by step to use ASP to implement the network pager.

Active Server Pages (ASP) is a server-side scripting environment that uses it to create and run dynamic, interactive web server applications. Use ASP to combine HTML pages, scripting commands, and ActiveX components to create an interactive web page and web-based power-based applications. ASP applications are easy to develop and modify.

Next, we start writing our web pager.

First, there are two ways to realize the function of network calls:

One. Use the database to save the saving and processing of paging information

The advantage of this method is that the storage information processing is very convenient, but its disadvantages are also obvious, that is, the burden of the server is added, because frequent storage databases will greatly increase the number of I / O access, resulting in the connection speed of the website Slow slow.

two. Use Application to save paging information directly

The advantage of this method is that the speed is faster than the use of the database to save the paging information; the disadvantage is that the processing information is cumbersome, but it is worthwhile. We must first guarantee the performance of the entire website.

In combination, we will use the second method to write a network pager. For the first method, I will introduce it to the last brief introduction.

Our network pager requires three pages, which is the "Tooth" page, "Show Pag Information" page, "Monitoring Package" page.

"Bush" page (bbssendbegic.asp) is a page used to send information to other online users. It is naturally like a tasting in our lives.

"BBSsendinfo.asp" is when someone calls you, the page displayed call content is like your own BP, but our network BP machine is more powerful, he can instant Reply to someone else giving you the information, you can also reply later, or simply remove this information.

"BBSAUTOSEARCH.ASP" is ready to monitor whether someone calls your page, just like a tired automatic robot, is always monitoring all paging information, and will filter out of your paging information.

Due to space limit, welcome to download source and more detailed description (href = "http://download1.ccidnet.com/source_code/vb/netpager.zip), file size: 39K

转载请注明原文地址:https://www.9cbs.com/read-456.html

New Post(0)