DWood
04-24-2002, 08:55 PM
I am new to sessions, could somebody help me covert the following code into sessions, i really dont know how its done:
//set the cookies with the username and password fields
setcookie("bracketuser",$username,time() + 86400, '/');
setcookie("bracketpass",$password,time() + 86400, '/');
//extract the variables from the cookies
$username = $HTTP_COOKIE_VARS["bracketuser"];
$password = $HTTP_COOKIE_VARS["bracketpass"];
please help me out, thanks
dwood
//set the cookies with the username and password fields
setcookie("bracketuser",$username,time() + 86400, '/');
setcookie("bracketpass",$password,time() + 86400, '/');
//extract the variables from the cookies
$username = $HTTP_COOKIE_VARS["bracketuser"];
$password = $HTTP_COOKIE_VARS["bracketpass"];
please help me out, thanks
dwood
