Areeda
Pattern Altitude
- Joined
- Aug 21, 2005
- Messages
- 2,188
- Location
- Los Angeles, CA
- Display Name
- Areeda
- Home Airfield
- KEMT - El Monte, CA
I've been writing my php sites to stay logged in to the end of the session. Now I have a need to keep users logged in for a year.
Googling for ways to do this has not been very fruitful, so I thought I'd ask here while I continue my research.
I'm thinking of a cookie that hashes say ip, and user name. A table that stores these and when a new session is created if the cookie exists remotely and in the table just log them in.
What do you do?
Joe
Googling for ways to do this has not been very fruitful, so I thought I'd ask here while I continue my research.
I'm thinking of a cookie that hashes say ip, and user name. A table that stores these and when a new session is created if the cookie exists remotely and in the table just log them in.
What do you do?
Joe