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.
Thanks,
Joe
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.
Thanks,
Joe
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs