Using the following I can create a cookie :

Dim mycookie As New HttpCookie("Userinfo")

mycookie("Name") = "Whatever"
mycookie("City") = "Whatever ..."

e.t.c.

How would I declare this if the value "mycookie" is in fact stored in a variable.

e.g
dim myvar as string
myvar = "mycookie"

dim myvar as new HttpCookie("Userinfo") will kick up a stink.

Any ideas geniuses
Cheers