HakanAzaklioglu
May 15th, 2000, 02:03 AM
I am new to cookies... I have attempted to run this test script to see why my original cookies script won't work and I am recieving the following error message:
========================================================
Microsoft VBScript runtime error '800a01b6'
Object doesn't support this property or method
/secure/manage/cookie/COOKIELIST.ASP, line 5
========================================================
Here is my code for the error message listed above:
========================================================
<%@ LANGUAGE=VBScript %>
<%
IF LEN(RESPONSE.COOKIES("TEST")) = 0 THEN
RESPONSE.WRITE "YOU DO NOT ACCEPT COOKIES!"
ELSE
RESPONSE.WRITE "YOU ACCEPT COOKIES!"
END IF
%>
<html>
<head>
<title>New Page 1</title>
</head>
<body background="/images/bground.gif" bgcolor="#ffffff" text="#000000" marginheight="0" topmargin="0">
</body>
</html>
========================================================
And here is the code for the page that is supposed to create the cookie and redirect to this page listed above:
========================================================
<%@ Language=VBScript %>
<%
RESPONSE.COOKIES("TEST") = "TESTING"
RESPONSE.REDIRECT "COOKIELIST.ASP"
%>
<html>
<head>
<title>New Page 1</title>
</head>
<body background="/images/bground.gif" bgcolor="#ffffff" text="#000000" marginheight="0" topmargin="0">
</body>
</html>
========================================================
========================================================
Microsoft VBScript runtime error '800a01b6'
Object doesn't support this property or method
/secure/manage/cookie/COOKIELIST.ASP, line 5
========================================================
Here is my code for the error message listed above:
========================================================
<%@ LANGUAGE=VBScript %>
<%
IF LEN(RESPONSE.COOKIES("TEST")) = 0 THEN
RESPONSE.WRITE "YOU DO NOT ACCEPT COOKIES!"
ELSE
RESPONSE.WRITE "YOU ACCEPT COOKIES!"
END IF
%>
<html>
<head>
<title>New Page 1</title>
</head>
<body background="/images/bground.gif" bgcolor="#ffffff" text="#000000" marginheight="0" topmargin="0">
</body>
</html>
========================================================
And here is the code for the page that is supposed to create the cookie and redirect to this page listed above:
========================================================
<%@ Language=VBScript %>
<%
RESPONSE.COOKIES("TEST") = "TESTING"
RESPONSE.REDIRECT "COOKIELIST.ASP"
%>
<html>
<head>
<title>New Page 1</title>
</head>
<body background="/images/bground.gif" bgcolor="#ffffff" text="#000000" marginheight="0" topmargin="0">
</body>
</html>
========================================================