response.Redirect"integral.asp?table="&session("table")&code=&session("code")
我想把这俩值都传过去啊!!
代码如下:<% if request.Form("code")<>"" then
session("code")=request.Form("code")
session("table")=request("table")
set rs=server.CreateObject("adodb.recordset")
sql="select * from Tab_code where code='"&session("code")&"'"
rs.open sql,conn,3,3
if rs.eof then %>
<script language="javascript">
alert("对不起,代码不存在")
window.close()
</script>
<%else
response.Redirect"integral.asp?table="&session("table")&code=&session("code")
response.end()
end if
end if %>
參考答案:response.Redirect"integral.asp?table="&session("table")&code=&session("code")
你语法错误得太严重了,应该是
response.Redirect "integral.asp?table=" & session("table") & "&code=" & session("code")