I want to ask you, what's the best method to create login system with php :
- Store DATA into
$_SESSION
variable and in database for authentication - Or store DATA into
$_COOKIE
variable ?
Which is the best method ?
I ask it for Remember my password feature
!