| |

VerySource

 Forgot password?
 Register
Search
View: 670|Reply: 1

How to add a statistics page on the home page without adding other pages, but clicking other pages can also record infor

[Copy link]

1

Threads

2

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

Post time: 2020-1-18 15:20:01
| Show all posts |Read mode
I wrote a page that specifically counts the information about customers visiting the website, and records the customer information with the following statement. trInfoRe = System.Web.HttpContext.Current.Request.UrlReferrer.ToString (); // The URL path of the client's last request
Now, every page of my website needs to load this page to be counted. I want to load it on the homepage, and then I can count the pages reached by customers.
Reply

Use magic Report

0

Threads

322

Posts

115.00

Credits

Newbie

Rank: 1

Credits
115.00

 China

Post time: 2020-1-25 02:00:01
| Show all posts
This can be achieved using httpModule.

Please search for its usage
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list