ok this is really strange for me. everything worked great before we moved servers and now cookies don't get set in IE or NS7. I didn't make any changes to the code prior to the move or after it. the really weird part is that it works if I do not use a time, but it nevers gets saved to my hard drive like all the other sites do and like it did before.

setcookie ("userid", $cookie_id, 0);

but if I use time it fails

setcookie("userid", $cookie_id, time());


it doesn't even matter if I took add /folder or just make it "/". it will not save a cookie for IE, firefox works great but not IE.

we are on php4.3.4 and mysql 4.XX

as far as know it is the same version we just came off of. DNS has resolved and working just fine, as far as I know.

could it be a server setting or something?

the server is about 10 minutes fast compared to teh browser (as far as I can tell) so even doing this doesn't work

setcookie("userid", $cookie_id, time()+3600 );