Authentication with Cookies instead of CookieStore Sessions

I would like to persist the user authentication between user sessions
(basically a “remind me” by default).

Sessions expire while cookies persist: why should I use a session for
authentication and then another different cookie for the “remind me”?

Can’t I simply store a cookie whith a token and use it for both
authentication and persistence?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs