Can't post the code...it's at work...can't post to the net from work...can't bring my work home. I'm not using CGI.pm so I am using the set-Cookie:foo=blah;expires=blah method.
Since I posted I have thought of a couple syntax errors that could be the latest culprit...but what I usually end up with is the cookie line printing literally in the produced webpage (I am using pure CGI to generate all my HTML dynamically) OR the headers line prints to the page literally.
I've found that you can't interchange the CGI.pm and raw form code ....once you use a $foo = new CGI all form data that is parsed ends up in the $foo->param variable ...
So ..no thoughts about being able to "unset" headers once their set?
TexasTess Great Spirits often encounter violent opposition from mediocre minds" --Einstein