Click to See Complete Forum and Search --> : error '80004005'


fark
10-09-2003, 10:21 AM
I'm getting this error when running my code that I listed. Do I not have the browser settings correct? It seems like one time it worked and the next time it didn't. As far as I can remember I didn't change anything.

error '80004005'
Unspecified error

/sample/aspcookie.asp, line 3



Response.Cookies("myCookie")("myValue1") = 1
Response.Cookies("myCookie")("myValue2") = 2
Response.Cookies("myCookie")("myValueN") = "N asdflkj sladkjf asldkfj"


Response.Write Request.Cookies("myCookie")("myValueN")

fark
10-09-2003, 06:07 PM
For anyone else that has this problem in the future.
I think I figured out what was causing the problem. I had another cookie from a seperate program that was causing a problem. I also got the error a different time because I was trying to store a variable that didn't get it's value until it was run on the client side. To store the cookie with asp you have to have the value so that the server can store it before it gets to the client side. I'm learning.