A
André
Hi,
I need several cookies depending of an variable (x), so i defined a
HttpCookie() as an array.
My problems:
1)I get the error: Object reference not set to an instance of an object.
2)My second question is: how to request those cookies, because there is no
name?
Thanks
André
I did:
x=5
Dim cok(x) As New HttpCookie 'can't give a name to the cookie
.....
for k=1 to x
cok(k).Value = "cookie" & k
Response.Cookies.Add(cok(k))
next
I need several cookies depending of an variable (x), so i defined a
HttpCookie() as an array.
My problems:
1)I get the error: Object reference not set to an instance of an object.
2)My second question is: how to request those cookies, because there is no
name?
Thanks
André
I did:
x=5
Dim cok(x) As New HttpCookie 'can't give a name to the cookie
.....
for k=1 to x
cok(k).Value = "cookie" & k
Response.Cookies.Add(cok(k))
next