it's because you haven't set the path attribute in the cookie. if you don't set that, the cookie will only work for the directory it's set in. you should use:
setcookie("cookie[superadmin]",$cookie_sa, time() +25200, "/[root directory of site on server]");
o, and hi everyone. first post.