I am making a login script that I would like to be as secure as possible. Problem is, security seems to be a never ending battle. So essentially, I am looking for suggestion
SESSION more secure than cookie and my advise is to create a unique id for the current login attempted like :
$id = uniqid(); $_SESSION['username'.$id] = "something ...";