How do I keep a user logged into my site for months?
So you actually want like a “Remember me on this computer” option? This is actually unrelated to OpenID part. Here’s a language-agnostic way how you can do it: First create a DB table with at least cookie_id and user_id columns. If necessary also add a cookie_ttl and ip_lock. The column names speaks for itself I … Read more