How to use ASP to compile a website statistics system (3) (from gaoshan)

Source: Internet
Author: User
How to use ASP to compile a website statistics system (3)
Designing a table structure is an extremely important task. Its rationality is closely related to programming.
A website statistics system should have a user table and a statistical value table.
This user table is the table that retains the registered user information. The statistical value table is the table that records each statistical indicator value of the user. In the statistical value table, we can specify the user's statistical indicators. We can use an ID value to represent each indicator. Here we will give a simple example.
User table:
Table Name: regist_table
Field type
Username C User name
Password C password
Regdate C registration time
Value table:
Table Name: value_table
Field type
Username C User name
Id C statistical indicator ID
Value C statistical indicator value
Id list:
Table Name: id_table
Field type
Id C statistical indicator ID
Idvalue C statistical indicator description
With these three tables, we can start.
For example, you can specify the following ID
Id idvalue
101 total visits
201 visits per day
202 2-day access Volume
231 access volume on the 31st day
To start statistics on users, we must first register users. The procedure for using users is as follows:
Enter the registry-> the initial user's value table (add the corresponding ID)-> feedback the registration information to the user
-> Add a link to your page-> Start statistics.

Related Article

E-Commerce Solutions

Leverage the same tools powering the Alibaba Ecosystem

Learn more >

Apsara Conference 2019

The Rise of Data Intelligence, September 25th - 27th, Hangzhou, China

Learn more >

Alibaba Cloud Free Trial

Learn and experience the power of Alibaba Cloud with a free trial worth $300-1200 USD

Learn more >

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: and provide relevant evidence. A staff member will contact you within 5 working days.