In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Jeffrey Means) wrote:
> In using the setcookie function I can not set a cookie if I specify a time > period. ie. setcookie("Cookie_Name", "Cookie_Value", time()+30); will not > set a cookie, but setcookie("Cookie_Name", "Cookie_Value"); does work. What > am I dooing wrong?? You need to read the docs more carefully, because time() returns a value in seconds, not minutes. Your time period is too short: the cookie expires 30 seconds after having been set. Whereas when you set no expiration, the cookie remains set until the window closes. -- CC -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php