答复对象 错误 'ASP 0156 : 80004005'
头错
/iso14001/admin/login.asp,行97
HTTP 头已经写入到 客户浏览器。任何 HTTP 头的修改必须在写入页内容之前。
<%
if Request.Form("action")="true" then
username=trim(Request.Form("username"))
password=trim(Request.Form("password"))
position = Trim(Request.form("postion"))
otherpwd = Trim(Request.form("otherpwd"))
reotherpwd = Trim(Request.form("reotherpwd"))
a=checkenter()
If a=TRUE then
if otherpwd = reotherpwd then
b=checksysUser()
if b=true then
if position <> 2 then
Response.Redirect("main.asp")
else
%>
①.当关闭IIS的缓冲功能,访问该页面时出错
a
答复对象 错误 'ASP 0156 : 80004005'
头错
Response.Redirect("main.asp"),行97
HTTP 头已经写入到 客户浏览器。任何 HTTP 头的修改必须在写入页内容之前。
②.当关闭IIS的缓冲功能,去掉文件第一行的注释,则页面重定向成功
③.当打开IIS的缓冲功能,无论是否去掉文件第一行的注释,页面重定向都成功
头错
/iso14001/admin/login.asp,行97
HTTP 头已经写入到 客户浏览器。任何 HTTP 头的修改必须在写入页内容之前。
<%
if Request.Form("action")="true" then
username=trim(Request.Form("username"))
password=trim(Request.Form("password"))
position = Trim(Request.form("postion"))
otherpwd = Trim(Request.form("otherpwd"))
reotherpwd = Trim(Request.form("reotherpwd"))
a=checkenter()
If a=TRUE then
if otherpwd = reotherpwd then
b=checksysUser()
if b=true then
if position <> 2 then
Response.Redirect("main.asp")
else
%>
①.当关闭IIS的缓冲功能,访问该页面时出错
a
答复对象 错误 'ASP 0156 : 80004005'
头错
Response.Redirect("main.asp"),行97
HTTP 头已经写入到 客户浏览器。任何 HTTP 头的修改必须在写入页内容之前。
②.当关闭IIS的缓冲功能,去掉文件第一行的注释,则页面重定向成功
③.当打开IIS的缓冲功能,无论是否去掉文件第一行的注释,页面重定向都成功