Persistent Cookies

From: Date: Tue, 15 Aug 2000 23:07:14 +0000
Subject: Persistent Cookies
Groups: php.general 
Request: Send a blank email to php-general+get-11882@lists.php.net to get a copy of this message
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

« previous php.general (#11882) next »