I make a asp call with this index.asp?nytsprog=ja
The script looks like this
<%
if request("nytsprog") = "ja" then
respons.cookies("sprogkalvi") = "null"
end if
if request.cookies("sprogkalvi") <> "" then
%>
But it aint workin I get this error message:
Microsoft VBScript runtime error '800a01a8'
Object required: ''
/index.asp, line 5
What am I doing wrong ?
Comments
respons.cookies("sprogkalvi") = "null"
the spelling of response is wrong
it must be this way
response.cookies("sprogkalvi") = "null"
: I make a asp call with this index.asp?nytsprog=ja
: The script looks like this
:
:
: <%
: if request("nytsprog") = "ja" then
: respons.cookies("sprogkalvi") = "null"
: end if
: if request.cookies("sprogkalvi") <> "" then
: %>
: But it aint workin I get this error message:
: Microsoft VBScript runtime error '800a01a8'
:
: Object required: ''
:
: /index.asp, line 5
:
: What am I doing wrong ?
: