Network friends who often make waves on the Internet may be afraid that few will not go to the chatting room.
You only need to stay a little bit, and then you will find that most of the chatting rooms use CGI program or JAVA-based Applet maintenance.
Programmers who have developed CGI or Applet of this type know that this kind of development work is time-paid.
Isn't there a simpler and more cost-effective development method? The answer is settled.
Many computer magazines have introduced the introduction of ASP, which is not described here.
1. Layout of chatting room:
1. About the alternative storage method: what measures should the internal capacity of the conversation be stored in the server on the client? ASP has two options: document-based component and data-based library.
However, the pen feels that ASP refers to more operations on the Data library provided by ADO (Active Data Object.
With the help of ADO, ASP can operate on the data warehouse, such as inserting, deleting, updating, and querying data.
The writer selects the Access data database to store the content of the talk.
The Data Warehouse is reserved for only one day (the duration can be determined based on the actual condition of the LAN.
2. Design of the chat room area: allows the customer to easily view the content of the site, the browser can display the content of the chatting room as much as possible. The writer sets three frames in a main page.
A frame on the left shows the Index of the site.
The right side is divided into the upper and lower frames.
The upper frame accounts for 70%, which is used to show the inner volume of the previous chatting room; the lower frame accounts for 30%, to provide a text input box and a button for the user to feedback.
3. Step 3: Enter the chatting room, as shown in the case of a large number of chatting rooms. The first step is to provide the user with a login interface, the user enters his/her own name or other name and password as he/she wishes.
If the user name entered is the same as the user name of the line, the user is prompted to re-select the user name or re-enter the password, the names of all users on the line with warranty are unique.
After logging on to the dtcenter, you can enter the chatting room. The displayed frame shows the greeting message of "Huan Ying Jia.
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