不知道IIS 6有没有什么新增的属性,或已经不再支持的属性,我下面这段删除代码,在XP IIS 5下执行一点问题也没有,可到了IIS 6下就有问题,不知道是对方设置问题还是代码问题,反正执行不了…………
大家帮忙看看…………,以下每一段都执行不了…………
<!--#include file="../Connections/Coon.asp" -->
<!--#include file="../Class34.asp" -->
<%
'删除会员…………
if request("del")="user" then
set rs=server.createobject("adodb.recordset")
id=Request.QueryString("username")
sql="select * from Member where M_User='"&id&"'"
rs.open sql,MM_Coon_STRING,2,3
rs.delete
rs.update
rs.close
set rs=nothing
Response.redirect(request.servervariables("http_referer"))
end if
'删除新闻
if request("del")="news" then
set rs=server.createobject("adodb.recordset")
id=Request.QueryString("id")
sql="select * from News where M_id="&id
rs.open sql,MM_Coon_STRING,2,3
rs.delete
rs.update
rs.close
set rs=nothing
Response.redirect(request.servervariables("http_referer"))
end if
'删除产品
if request("del")="product" then
set rs=server.createobject("adodb.recordset")
id=Request.QueryString("id")
sql="select * from Products where M_id="&id
rs.open sql,MM_Coon_STRING,2,3
rs.delete
rs.update
rs.close
set rs=nothing
Response.redirect(request.servervariables("http_referer"))
end if
'审核订单
if request("check")="yes" then
set rs=server.createobject("adodb.recordset")
id=Request.QueryString("id")
sql="select * from D_Order where M_id="&id
rs.open sql,MM_Coon_STRING,1,3
rs("M_check")=1
rs("M_checktime")=now()
rs("M_checkid")=session("jUser")
rs.update
rs.close
set rs=nothing
Response.redirect(request.servervariables("http_referer"))
end if
%>