A
Andrew Duffy
Hi,
I just want to check that i'm not going crazy.. I want to check
whether or not a cookie has already been set and so I am using the
following code.
cookieValue = Request.Cookies("CartID")
'if cookie hasn't already been set, then set it!
If cookieValue = "" Then
Response.Cookies("CartID") = "3"
Response.Cookies("CartID").Expires = "Jan 1, 2005"
End if
I have also used IsNull yet both just don't seem to work.... am I
missing something here?
Thanks heaps
Andrew Duffy
I just want to check that i'm not going crazy.. I want to check
whether or not a cookie has already been set and so I am using the
following code.
cookieValue = Request.Cookies("CartID")
'if cookie hasn't already been set, then set it!
If cookieValue = "" Then
Response.Cookies("CartID") = "3"
Response.Cookies("CartID").Expires = "Jan 1, 2005"
End if
I have also used IsNull yet both just don't seem to work.... am I
missing something here?
Thanks heaps
Andrew Duffy