javascript - Detect when tracking pixel is returned from server -
customers use service install script (javascript) server. have tracking pixel inserted onto page via script picks click info. when asp.net server intercepts pixel.aspx inserts login information fake image's querystring database , returns pixel.gif...all works (see below). imports microsoft.visualbasic imports system.web public class helloworldmodule implements ihttpmodule private pattern string = "/images/(?<key>.*)\.aspx" private logofile string = "~/images/pixel.gif" public sub new() end sub public readonly property modulename() string return "helloworldmodule" end end property ' in init function, register httpapplication ' events adding handlers. public sub init(byval application httpapplication) implements ihttpmodule.init addhandler application.beginrequest, addressof getimage_beginrequest end sub public sub getimage_beginrequest(byval sender object, byval args system.eventargs) 'cast sende