Group: Forum Members
Last Active: Wed 22 Jul 2020
Posts: 153,
Visits: 874
|
Would it be possible to exclude some IP (or IP's range) from statistics log? Where should I operate to do that? Thank you
Wed 29 Jun 2016 by
Supermac
|
Group: Forum Members
Last Active: Mon 6 Dec 2021
Posts: 235,
Visits: 750
|
The data is written within method AddNewStatsRecord() in StatisticsBLL.vb. It is called from two different places:
- Line 65 of Category.aspx.vb - Line 44 of Product.aspx.vb
You can either check the IP address in the two places that call AddNewStatsRecord() or you can check the IP Address inside AddNewStatsRecord(). You can chose based on your preferred way of coding.
Use Current.Request.ServerVariables("REMOTE_ADDR") to detect the IP address.
We are always willing to help out the community or pitch in to help you fix a problem. However, if you want a complete solution made such as a code module or new feature added you have two options. Either 1) Reach out to the Kartris internal development team at http://www.kartris.com/Contact.aspx. 2) Contact one of the Kartris approved partners at http://www.kartris.com/t-Worldwide-Developers.aspx. Have fun and good luck coding.
|