Using ASP to write network pager (turn)

Source: Internet
Author: User

Body:
You like surfing the Internet friends must have been to NetEase's virtual community bar, inside the pager function must be very popular. Through the pager, we can call anyone who is currently surfing in a virtual community and can chat online.
In fact, we use the ASP can be fully realized with the NetEase virtual community inside the same function of the paging station, how? Don't believe it? Then follow me step by step using ASP to realize the network Pager bar.
Active Server Pages (ASP) is a server-side scripting environment that you can use to create and run dynamic, interactive WEB server applications. Using ASP, you can combine HTML pages, script commands, and ActiveX components to create interactive Web pages and powerful web-based applications. ASP applications are easy to develop and modify.
Next, we're going to start writing our web pager.
First, there are two ways to implement the function of network paging:
One. Using database to realize the preservation and processing of paging information
The advantage of this method is that it is convenient to store information processing, but its disadvantage is that it increases the burden on the server side, because frequent storage databases will greatly increase I/o access times, resulting in a slow connection speed of the Web site.
Two. Use application directly to save paging information
The advantage of this method is that the speed is significantly faster than using the database to save the paging information; The disadvantage is that the processing information is cumbersome, but it is worth it, we must first guarantee the performance of the entire site.
Combining the above factors, we will use the second method to write the network pager, for the first method, I will briefly introduce the last.
Our network pager requires three pages, the pager page, the Display paging information page, and the Monitor pager page. The
Pager page (bbssendbegic.asp) is a page used to send messages to other online users, naturally, as if it were a pager in our lives. The
Show Paging Information page (bbssendinfo.asp) is when someone calls you, bounce out of the page that shows the call content, just like your own BP, but our network BP machine is more powerful oh, he can immediately reply to the information they give you, you can reply later, Or simply erase the message. The
Monitor Pager page (bbsautosearch.asp) is a constant monitor of whether someone is calling your page, like a tireless robotic robot that keeps tabs on all the paging information and filters out only your paging information.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.