in reply to Cookies on Apache vs cookies on IIS
Ok, still having problems here, even after correcting the typo in the code (-expire vs -expires)
Basically my cookie is still not being set when running on an IIS server. Still works fine (with the same code) on the Apache server.
Throwing a print $p->header() prior to the cookie being printed results in the following being printed to the browser:
Set-Cookie: =-name; domain=-value; path=mycookie; expires=-path;
So, as you can see, it's fairly munged, in addition to none of the values being there.
On apache, putting the same print $p->header() prior to the cookie print, results in an HTML formatted string with the data that I would be expecting in it.
My forehead is starting to get sore (from all the headbanging), and I would appreciate any additional input into the problem.