[PHP] Persistent Cookies From: Patrick Tao (ptao <email protected>)
Date: 08/15/00

Hi all

i have scoured the manual and still have not found a solution to this
issue:

I have set two cookies for user id and password and can access them in
subsequent pages in my application (i've tested it by echoing the
$HTTP_COOKIE_VARS array to the browser), but i can't use the cookies
once i leave (close the browser) the session and i am never able to see
the actual cookie files on my local drive.

does php only support cookies through one session or is there something
in my code that is preventing the cookies from being written to my local
temp directory?

the domain that i am using is a http://domain.com type and not a
www.domain.com type... could that be a factor in the cookie?

here are my cookie statements

setcookie("uid", $useruid, "time()+30000", "/", ".domain.com", 0);
setcookie("pwd", $userpassword, "time()+30000", "/", ".domain.com", 0);

any help is welcome! i would like to avoid using javascript if at all
possible!

TIA

Patrick Tao

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe <email protected>
For additional commands, e-mail: php-general-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>