Excellent idea! I must really be losing my mind. Here's a code snippet:
/ Verify user login before displaying any information. /
if ( verifyLogin() )
{
//give them a cookie
srand( (double)microtime() * 1000000 );
$randval = rand();
setcookie( "id", $randval, (time() + 7200), "/emp_survey/", "192.168.0.161", 0 );
//forward the user to the main_menu page
echo "<meta http-equiv=\"refresh\" content=\"1;URL=esurvey_ITA.php\">\n";
}//end if
I'm not sure how to use the domain parameter. I put in my local IP. That may be causing the problem as well. Thanks!
-Glen