This should be easier for some Cookie Expert out there.
I want to set and retrieve a cookie in the same script. It's part of a much larger script, but at some point I want to set a cookie, and later in the same sript I want to retrieve it.
A simple expample of this is the following script:
This doesn't work. You have to run it once, and then run it again to read the cookie. I just want the cookie to be available immediately. Any suggestions?