In the beginning, I set a cookie value like this:
Response.Cookies("UserInfo")("UserName") = "Bob"
And it was good.
In the end, I need to read that cookie in javascript. But I have no idea how to do that. The documentation for javascript and cookies (especially those set like I have above) is poor at best. Most cookie-reading functions out there seem to only accept 1 argument (cookie name). But as we clearly see here, I have to pass two arguments to get the value for "Bob".
Any help is greatly appreciated!
Thanks,
Jason