Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
The best way to implement a "Remember Me" function for login in php - Kevin Powell - Community
KP-C
Kevin Powell - Community
•
2y ago
•
56 replies
MD
The best way to implement a "Remember Me" function for login in php
I
'm currently working on a remember me functionality for my login page and i know the common way is to use
setcookie()
setcookie()
then
$_COOKIE['<some field here>]
$_COOKIE['<some field here>]
and assign a value and check that to login
, but is there a better way or a safer way
?
Kevin Powell - Community
Join
A friendly place for developers to meet other devs, ask questions, get help, and just have a good time 🙂.
36,263
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Next page
Similar Threads
Database setup for a simple login and registration page in terms of having a "remember me" function
KP-C
Kevin Powell - Community / back-end
2y ago
Best websites to learn PHP
KP-C
Kevin Powell - Community / back-end
3y ago
Is there a quick way in vanilla PHP to log things?
KP-C
Kevin Powell - Community / back-end
2y ago
How to make simple login system with php
KP-C
Kevin Powell - Community / back-end
2y ago