On 27 November 2001 12:45, Urb LeJeune wrote: > Speaking of cookies, is there a way using session control > to modify the expiration date of a cookie? I would like to add > a check box in a login dialog that says "remember me"
The checkbox is a form field, and thusly passes it's value to the page that loads when you submit the form. So in the page that sets the cookie: if ($checkbox == 1 ) { setcookie (whatever); } else { setcookie (whateverelse); } -- Casey Allen Shobe [EMAIL PROTECTED] GCS/CM d+ s+:->+: a-- C++(++++) ULU++++$ P- L+++>++++ E- W++ N++ !o K- w-- !O M V- PS++ PE Y+ PGP>++ t+ 5+ X R>+ tv-- b++ DI+ D---- G++ e h-(*) r--- z-- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]