Re: Explanation of cookie behavior
| From: | John Nichel | Date: | Thu, 15 Apr 2004 14:52:57 +0000 |
| Subject: | Re: Explanation of cookie behavior | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-183466@lists.php.net to get a copy of this message | ||
Ryan Schefke wrote:
setcookie ("login_ck", "$lo", time()+ "60*60*24*30", "", "", "0"); //set cookie for login, for 30daysExpire is supposed to be an integer. Try... setcookie ("login_ck", "$lo", time()+ 2592000, "", "", 0); -- *********************************************************************** * _ __ __ __ _ * John Nichel * * | |/ /___ __ \ \ / /__ _ _| |__ ___ __ ___ _ __ * 716.856.9675 * * | ' </ -_) _` \ \/\/ / _ \ '_| / /(_-<_/ _/ _ \ ' \ * 737 Main St. * * |_|\_\___\__, |\_/\_/\___/_| |_\_\/__(_)__\___/_|_|_|* Suite #150 * * |___/ * Buffalo, NY * * http://www.KegWorks.com john@KegWorks.com * 14203 - 1321 * ***********************************************************************