基于IIS和ASP的标题广告管理系统(三)
2007-12-18 13:15:34 来源:WEB开发网核心提示:rs.Open strSql, cn' 生成广告点击历史纪录strSql = "INSERT INTO BannerHistory " + _"(AdvertiserID, AdID, IPAddress, Type) Values (" + _Request.Query
rs.Open strSql, cn
' 生成广告点击历史纪录
strSql = "INSERT INTO BannerHistory " + _
"(AdvertiserID, AdID, IPAddress, Type) Values (" + _
Request.QueryString( "AdvertiserID" ) + ", " + _
Request.QueryString( "AdvertisementID" ) + ", '" + _
Request.ServerVariables( "REMOTE_HOST" ) + "', 2)"
rs.Open strSql, cn
' 重定向到广告客户指定的页面
Response.Redirect( Request.QueryString( "Link" ) )
Next Steps
[]
赞助商链接