06-28-2008, 05:36 PM
|
#5 (permalink)
|
|
The Acquainted
Join Date: Sep 2007
Location: Leeds, UK
Posts: 141
Thanks: 6
|
If I remember correctly...
I had two cookies, one with the user ID and one with a random generated number that was stored in my 'members' table in the DB. My if_loggedin() function would check if a cookie exists and the cookie random value matched the one in the DB where it was the same ID as the cookie ID.
__________________
Not quite a n00b...
|
|
|
|