Thanks for that suggestion - I like it :-) So any thoughts on the counter side of things? Is it a bad idea to have say a table like this:
Table Name: Banner Columns: banner_id, banner_desc, banner_impressions, banner_clicks, image_url, click_url Then lock and increment the banner_impressions or banner_clicks depending on the action? Does that create a bottleneck? Or am I better using a separate table, inserting a row for each click / impression, and totalling them up as a separate job? Andrew. On Thu, 11 Jun 2009 12:07:41 +1000, Steve Onnis <st...@cfcentral.com.au> wrote: > > What you could do is do this.... > > Instead of loading the image/swf, make the script load a cfm file like... > > <img src="loader.cfm?adImage.gif" /> > > then you could increment the counter for that ad based on the file being > used to load the ad. > > Then because you know the name of the image/swf you can then read the > file, > then output it and push it to the client using cfcontent to set the > content > type of the stream you are pushing to the browser... > > Hows that? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~----------~----~----~----~------~----~------~--~---