Statistics

Posted By Supermac Wed 29 Jun 2016
Add to Favorites0
Author Message
Supermac
 Posted Wed 29 Jun 2016
Supreme Being

Supreme Being - (71,581 reputation)Supreme Being - (71,581 reputation)Supreme Being - (71,581 reputation)Supreme Being - (71,581 reputation)Supreme Being - (71,581 reputation)Supreme Being - (71,581 reputation)Supreme Being - (71,581 reputation)Supreme Being - (71,581 reputation)Supreme Being - (71,581 reputation)

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
Tiggywiggler Marked As Answer
 Posted Wed 29 Jun 2016
Supreme Being

Supreme Being - (105,290 reputation)Supreme Being - (105,290 reputation)Supreme Being - (105,290 reputation)Supreme Being - (105,290 reputation)Supreme Being - (105,290 reputation)Supreme Being - (105,290 reputation)Supreme Being - (105,290 reputation)Supreme Being - (105,290 reputation)Supreme Being - (105,290 reputation)

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.
Supermac
 Posted Wed 29 Jun 2016
Supreme Being

Supreme Being - (71,581 reputation)Supreme Being - (71,581 reputation)Supreme Being - (71,581 reputation)Supreme Being - (71,581 reputation)Supreme Being - (71,581 reputation)Supreme Being - (71,581 reputation)Supreme Being - (71,581 reputation)Supreme Being - (71,581 reputation)Supreme Being - (71,581 reputation)

Group: Forum Members
Last Active: Wed 22 Jul 2020
Posts: 153, Visits: 874
Great!
Thank you a lot
Tiggywiggler
 Posted Wed 29 Jun 2016
Supreme Being

Supreme Being - (105,290 reputation)Supreme Being - (105,290 reputation)Supreme Being - (105,290 reputation)Supreme Being - (105,290 reputation)Supreme Being - (105,290 reputation)Supreme Being - (105,290 reputation)Supreme Being - (105,290 reputation)Supreme Being - (105,290 reputation)Supreme Being - (105,290 reputation)

Group: Forum Members
Last Active: Mon 6 Dec 2021
Posts: 235, Visits: 750
You are welcome. If you are happy with the answer can you please 'Mark as Answer' so that other people can see that there is a solution (for people viewing the thread in the future) please?

Thank you.


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.

Similar Topics

Expand / Collapse

Reading This Topic

Expand / Collapse

Back To Top