Sun
ONE Active Server Pages Product Home Page Developer Site Version
 

ContentsPreviousNextIndex



Example: ASP Ad Rotator Component GetAdvertisement Method HTML Output

Assuming the following fragment of a redirection file is chosen by the control:

REDIRECT /foo/bar.asp
WIDTH 300
HEIGHT 40
BORDER 1
*
/ads/picture.gif
http://www.chilisoft.com/info/index.html
Hello from Chilisoft.
90

The HTML output is:

<A HREF= "/foo/bar.asp?url=http://www.chilisoft.com/info/index.html&image=/ads/picture.gif TARGET="_blank">	
<IMG SRC="/ads/picture.gif" ALT="Hello from Chilisoft" WIDTH=300 HEIGHT=40 BORDER=1>
</A> 

The redirect script "foo/bar.asp" is invoked and can record click-through information before redirecting the client browser to the user’s desired location.



ContentsPreviousNextIndex