Active InfoActive Info  Display List of Info MembersMemberlist  Search The InfoSearch  HelpHelp
  RegisterRegister  LoginLogin
ASPBanner Unlimited Version 8.0
 CJWSoft Support Info : ASPBanner Unlimited Version 8.0
Subject Info: Exclude My Visits A d d  -  P o s tAdd P o s t
Author
Message << Prev Info | Next Info >>
Vicki
New User
New User


Joined: October/27/2008
Location: United States
Online Status: Offline
Info: 4
Added: October/29/2008 at 9:37pm | IP Logged Quote Vicki

Hi, is there any addon to Exclude Admin/USER from being logged, I edit products on my site and view the pages every day,  which they have my banners rotating on all my product pages.  So the Impressions, Clicks and click thrus are'nt real accurate.  I have this feature on my Meta Traffic program, that allows me to enter my IP and I become invisible, all my visits to my Web site are no logged.

Thanks 

Vicki

 



__________________
Vic
Back to Top View Vicki's Profile Search for other info by Vicki Visit Vicki's Homepage
 
cwilliams
Admin Group
Admin Group
Avatar
CJWSoft Web Software Developer

Joined: April/06/2004
Online Status: Offline
Info: 1769
Added: October/29/2008 at 10:40pm | IP Logged Quote cwilliams

It's not currently a feature because this is a simple system with a simple feature set. Performance and a low price was the main goal. I'll think about it for any future releases.

There is a way to do what your talking about. It's not really that hard.

Just put simple if/else code around your banner calling code..
Check for your ip or whatever and dont run the banner calling code if it is you.

If you do it using server side include files around the banner calling code you could easily change the ip(s) your checking anytime you want.

This article I wrote shows to get the IP Address using ASP code.
http://www.powerasp.net/content/new/using-asp-to-retrieve-us ers-ip-address.asp


sort like this but you'd be checking the ip .. this is just psuedo code

<% If blah = "blah" Then %>
     do nothing
<% Else %>
     banner calling code
<% End If %>

__________________

Best Regards, Christopher Williams www.CJWSoft.com
Back to Top View cwilliams's Profile Search for other info by cwilliams Visit cwilliams's Homepage
 
fishusa
New User
New User


Joined: October/10/2008
Location: United States
Online Status: Offline
Info: 16
Added: December/19/2008 at 3:42pm | IP Logged Quote fishusa

Hello all,

I've developed sort of a hack for addressing this issue. 

Summary:  Using IP tracking, if you visit your site, you will see a generic banner of your choosing.  This, obviously, won't get tracked.  If you making a request that's not from your IP, or you enable a cookie by clicking that generic banner, you will see the "Real" banners until your session is closed out. 

First create a page called "banners_enabled.asp" that includes the code

<%
'set the cookie for showing the banners
 Response.Cookies("Banners") = "True"
 Response.Cookies("Banners").Path = "/"
 Response.Redirect("default.asp")
%>

Then on the page where you call your banners but this code around CW's banner calling code...

  <% dim strBannersEnabled%>
  <% strBannersEnabled = Request.Cookies("Banners") %>
  <% if (Request.ServerVariables("REMOTE_ADDR") = "IP.ADDRESS.NO.1" or Request.ServerVariables("REMOTE_ADDR") = "192.168.1.100") and strBannersEnabled <> "True" then %>
    <%  'this is a office ip, don't track clicks or impressions!! Just show a generic banner(also added local IP for dev testing) %>
    <a HREF=
http://www.yourwebsite.com/banner_enable.asp> <img alt="Click this banner to turn on real banners" border="0" src="http://www.yourwebsite.com/generic_480x60.bmp"></a>
  <% else %>
     <!------- ASPBanner Ad code ------------->
     <script language="JavaScript"> var code = '';
     var now = new Date();
     var nIndex = now.getTime();
     document.write('<s' + 'cript src="
http://www.yourwebsite.com/aspbanner/injectbanner.asp?Banner Zone=1&nocache=' + nIndex + '">');
     document.write('</' + 's' + 'cript>');
     </script>
     <script language="JavaScript">document.write(jscode);</script& gt;
     <!--------- End ASPBanner Ad code --------------->
  <% end if %>

That's about it, really.  This isn't meant  to be a step-by-step but its a solution to keep you from capturing your clicks.  You can add any number of ip addresses or server names as your situation merits. 

Back to Top View fishusa's Profile Search for other info by fishusa Visit fishusa's Homepage
 

If you wish to make a comment to this info you must first login
If you are not already registered you must first register

  A d d  -  P o s tAdd P o s t
Printable version Printable version

Info Jump
You cannot add new info in this area
You cannot add to info in this area
You cannot delete your info in this area
You cannot edit your info in this area
You cannot create polls in this area
You cannot vote in polls in this area


Active Server Pages ASP programs help tutorial tutorials routine routines jobs listserve mailinglist bulletin board bulletin boards programming snippet snippets CJWSoft ASPProtect ASPBanner ASPClassifieds www.aspprotect.com, www.powerasp.com,www.aspclassifieds.com,www.aspphotogallery.com,www.codewanker.com