These two posts provide excellent implementation guidelines for persistent login cookies:
- http://fishbowl.pastiche.org/2004/01/19/persistent_login_cookie_best_practice/
- http://jaspan.com/improved_persistent_login_cookie_best_practice
(Read them in the given order, since the second one improves the first one.)