主题:求助,帮下忙?
有个问题不明白的,就是Session有效的时候,在一个页面上进行操作,当操作放下,在很久一段时间后,重新刷新这个页的时候,会提示出错...
提示出错信息:
技术信息(用于支持人员)
错误类型:
ADODB.Recordset (0x800A0BB9)
参数类型不正确,或不在可以接受的范围之内,或与其他参数冲突。
/gg/manage/message/manage.asp, 第 196 行
浏览器类型:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727)
网页:
GET /gg/manage/message/manage.asp
代码:
set rsfen = Server.CreateObject("adodb.recordset")
if Session("adminid") = "" then Response.Write("<script language='javascript'>alert('登陆已超时');location.href='../login.asp';</script>")
else
SqlFen = "select * from Mes_account where Admin_id = "&Session("adminid") & " or Admin_Sire = " & Session("adminid")
end if
rsfen.open SqlFen,conn,1,1 ---- 196行 rsfen.pagesize=10
我都有判断
if Session("adminuser")="" then
Response.Redirect "../login.asp"
end if
为什么还会那样呢?
提示出错信息:
技术信息(用于支持人员)
错误类型:
ADODB.Recordset (0x800A0BB9)
参数类型不正确,或不在可以接受的范围之内,或与其他参数冲突。
/gg/manage/message/manage.asp, 第 196 行
浏览器类型:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727)
网页:
GET /gg/manage/message/manage.asp
代码:
set rsfen = Server.CreateObject("adodb.recordset")
if Session("adminid") = "" then Response.Write("<script language='javascript'>alert('登陆已超时');location.href='../login.asp';</script>")
else
SqlFen = "select * from Mes_account where Admin_id = "&Session("adminid") & " or Admin_Sire = " & Session("adminid")
end if
rsfen.open SqlFen,conn,1,1 ---- 196行 rsfen.pagesize=10
我都有判断
if Session("adminuser")="" then
Response.Redirect "../login.asp"
end if
为什么还会那样呢?