I've got a funny problem. My app uses cookies as a mission critical piece of the logic.
I first create the cookie using ASP: Response.Write("selection") = "Hello World"
Then when a user makes a selection from the menu I update the cookie with the menu selection using JavaScript: document.cookie = "selection" + "=" + escape (e.url);
This all works great. I can also read back the cookie after the selection using either ASP or JavaScript. Both work fine.
Here's the funny part. When I read it back using PHP I get the original cookie value "Hello World" instead of the new selection value. It doesn't matter how many new selections I make or if I switch forms and re-enter just to ensure the cookie is fresh with new values. Regardless of my approach I still get the original value.
Now this is driving me crazy because if ASP and JavaScript are reading the correct new value, just where exactly is PHP getting this old value from? Totally weird yet totally mission critical for me.
Why is this so important? Because, for all you PHP coders out there, I'm trying to migrate all my ASP to PHP because I'm new to PHP but I think it rocks (especially since I found the COM integration, unbelievable!).
Cheers, Randy -- Please fire any responses to my e-mail address as well as posting if you don't mind. This site has gotten to big now and I can't seem to find what I need anymore.