>    setcookie("UserName", $HTTP_POST_VARS['UserName'], time()+(60*10), "/",
> $HTTP_SERVER_VARS['SERVER_NAME']);
>    setcookie("Password", $password, time()+(60*10), "/",
> $HTTP_SERVER_VARS['SERVER_NAME']);
>    print "login - set cookie";


sorry for kinda answering my own post... but anyway...

setcookie("UserName", $HTTP_POST_VARS['UserName']);
setcookie("Password", $password);

solves my problem, although means i can't have a time limit on my cookies i
guess... but can set a time limit with another cookie...

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to