重定向问题,急死人
这代码一直无法完成重定向的问题……各为帮我看看到底什么地方出了错误了……晕啊……
<!--#include file="conn.asp"-->
<%
if request.QueryString("video_id")="" then
response.write error
response.end
end if
Set rs = Server.CreateObject("ADODB.RecordSet")
sql = "select * from video where video_id='"&video_id&"'"
rs.open sql, conn, 3, 3
if not rs.eof then
rs("dianji").value = rs("dianji").value + 1
rs.update()
down_url=rs("down_url")
end if
rs.close()
Set rs = nothing
conn.close()
Set conn = nothing
Response.Redirect down_url