Link to home
Start Free TrialLog in
Avatar of net_susan
net_susan

asked on

Won't Let Me Write Cookie

response.cookies("blah")= myReader("PSMem")

It won't let me write a cookie.  :(

Error:

Compiler Error Message: BC30526: Property 'Item' is 'ReadOnly'.
Avatar of laotzi2000
laotzi2000

Try this:

response.cookies.add(new HttpCookie("blah", myReader("PSMem")))
ASKER CERTIFIED SOLUTION
Avatar of bsdotnet
bsdotnet

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of net_susan

ASKER

>>Response.Cookies("blah").Value = myReader("PSMem")

Yeah, there was some other reason it wasn't writing it. After spending four hours on it, I slept on it and came up with another solution in five minutes. LOL