I got this error with my code but i don't know what's wrong. i don't understand why the response object could not be supported. The error is:
Microsoft VBScript runtime error '800a01b6'
Object doesn't support this property or method: 'Response.redirect'
/couguidefm1asp.asp, line 23
(the line is not quite accurate as i've deleted portion of my code)
---------------------------------------------------
My code is as follows:
<%@ Language="VBScript"%>
<% Response.Buffer=true %>
<%
if (Request.Form.Item("stream" = 1) AND (Request.Form.Item("level" = 1) then
Response.Clear
response.redirect="elseif (Request.Form.Item("stream" = 2) AND (Request.Form.Item("level" = 1) then
Response.Clear
Response.Redirect="couguidefm2_spmsc.htm"
end if
%>
<html>
<body>
<% Response.End %>
</script>
</body>
</html>
--------------------------
What is the error all about? Does it mean that it really could not support the object or there is other reason? Is anything wrong with my code?
Microsoft VBScript runtime error '800a01b6'
Object doesn't support this property or method: 'Response.redirect'
/couguidefm1asp.asp, line 23
(the line is not quite accurate as i've deleted portion of my code)
---------------------------------------------------
My code is as follows:
<%@ Language="VBScript"%>
<% Response.Buffer=true %>
<%
if (Request.Form.Item("stream" = 1) AND (Request.Form.Item("level" = 1) then
Response.Clear
response.redirect="elseif (Request.Form.Item("stream" = 2) AND (Request.Form.Item("level" = 1) then
Response.Clear
Response.Redirect="couguidefm2_spmsc.htm"
end if
%>
<html>
<body>
<% Response.End %>
</script>
</body>
</html>
--------------------------
What is the error all about? Does it mean that it really could not support the object or there is other reason? Is anything wrong with my code?