Forum: Ruby on Rails Best way to cookie a user?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Joe (Guest)
on 2006-03-12 22:40
After login, I do 'session[:user] = @user'. What's the best way to
cookie this user for later visits after the session expires? I presume
simply cookieing their user id or email is a bad idea and that a salted
hash should be used.

This topic is locked and can not be replied to.