I recently installed Apache 2.0.40 and PHP 4.2.3 on my windows 2000 box. Now I'm having tons of troubles with cookies not working and all I'm trying to do is drop a session id and an expiration time. Sounds simple, and was actually working on my linux box before the motherboard died. I believe I was running PHP 4.0.6 on RedHat 7.2 at the time. Has anything changed? I've RTFM and haven't seen any changes in the setcookie() function.
A second note, I was initially testing the cookies while running the browser and server on the same box. I thought that this particular setup my have been the culprit until I tried using a second machine on my network and received the same errors.
Ok, now for the cookie behavior. The cookie will be set upon initially hitting the site. But, when I set the cookies on subsequent runs nothing happens, the data doesn't get updated like it should. Any suggestions?
Matt