PHP
Remember me option using PHP Cookie | $_COOKIE
Login To Post Your Comment
1 comments
Manfred Lim
4 years agoI will do it this way:
- If the "remember me" box is checked, store cookies for a very very long time, like a few hundred years.
- If the "remember me" box is NOT checked, store cookies for a short period. Maybe 1 day, 3 days, or 7 days, etc...