I'm making my first fullout website were users can sign up and log in. Is the following cookies secure? Do I need a more specific random code for the name instead of username or password?
setcookie("username", "$username", time()+3600);
setcookie("password", "$password", time()+3600);