asp站从win2000 server转到win2003后的问题!
1,我的asp站从win2000 server转到win2003以后,后台不能给数据库提交数据了?一点确定就转到登陆页去了?
2,能不能更新数据库和这个站的属性的"写入"权限有关系没?
3,asp站从win2000 server转到win2003以后要注意那些变化?
请大家看看,下面是几个代码:
ifadmin.asp(判断是不是管理员)
==================================================
<%
if session("admin")="" or session("adminname")="" then
response.redirect "lygl.asp?action=login"
response.end
end if
%>
===============================================
数据提交页:
<!-- #include file="conn.asp" -->
<!-- #include file="ifadmin.asp" -->
<%
exec="select * from gonggao"
set rs=server.createobject("adodb.recordset")
rs.open exec,gsyyconn,1,3,1
nr=request.form("new")
if nr="" then
rs("wzgonggao")="无公告"
rs.update
rs.close
set rs=nothing
gsyyconn.close
set gsyyconn=nothing
response.write "公告删除成功!!"
elseif nr<>"" then
rs("wzgonggao")=nr
rs.update
rs.close
set rs=nothing
gsyyconn.close
set gsyyconn=nothing
response.write "公告添加成功!!"
end if
%>