I am completely baffled here and can't find a solution on the web, in books, or even quickly in this forum. I just need a simple script to set the username and password as a cookie to keep the user logged in over a period of time. The script work without any problems in firefox, but won't work at all in IE. Even the simplest code to set a cookie, then display it on the next page will not work in IE. It appears that the cookie doesn't get set in IE. if I have: [code] <?PHP setcookie("user", $username, time()+3600); ?> [/code] then on another page have: [code] <?PHP echo "cookie is ".$_COOKIE['user']; ?> [/code] my output is only: cookie is and doesn't display the cookie content. There was some code to display all cookies that are set, and the output in IE after I try to set the cookie and then display all cookies is just: Array() but in FireFox, using the exact same pages, it works without a problem and displays the cookies and their content for me. what the heck am I doing wrong??? thanks John