M
MC
I've been using the ASP.NET ad rotator for some time and have been asked
to track the hits and click thrus, The solution that seemed obvious to
me was to extend the existing control to record the Display count and
then rewrite the URL location to be passed as a paramter to a page which
records the click count and redirect to the intended page.
This all seems to work fine. My next thought was that the most logical
location for the Click and Display count was in the Ads.xml file used to
control the AdRotator. This works however, I get Errors because the file
is locked by the AdRotator.
I currently catch the error and continue, what would be the correct way
to deal with this situation and ensure that the hit gets recorded?
to track the hits and click thrus, The solution that seemed obvious to
me was to extend the existing control to record the Display count and
then rewrite the URL location to be passed as a paramter to a page which
records the click count and redirect to the intended page.
This all seems to work fine. My next thought was that the most logical
location for the Click and Display count was in the Ads.xml file used to
control the AdRotator. This works however, I get Errors because the file
is locked by the AdRotator.
I currently catch the error and continue, what would be the correct way
to deal with this situation and ensure that the hit gets recorded?