Brad Brevet wrote: > Nevermind, I figured it all out, thanks for the info. > > "Brad Brevet" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] >> Is this the all I would need to do to set a cookie with a username >> stored >> for 30 days? Sorry I am new at this. >> >> setcookie ("Cookie Name", $username, time()+60*60*24*30);
Be sure you provide a path whenever you provide a time to setcookie. Various versions of IE are badly broken and ignore the time part unless there is also a path part. -- Like Music? http://l-i-e.com/artists.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php