Originally posted by Ashish Gauswami:how does websites like Amazon and Google remembers the users name forever?
Don't set an expiration time.
Reset it every time a user revisits.
If you forget when they have not returned within months, its no big deal