I'm trying to set cookies accross my my site for users when they log in. Currently I've been trying using the setcookies() function. Well I try this and it doesn't seem to be working. I have the form to log in working perfect, then i have a test page where it shows if cookies are set or not, and it always shows them as not set. I have the setcookie() in the top of my head.php file so that all files would be affected by it. Anyone know what I could be doing wrong or something I might not have done. On the login form would I have to put something to say that the user is logged in and cookies should be set to keep the user logged in or what?