Topic: how to use cookie in Rails
I have set a web site, and I wanna to remember the user who login the site,and he/she needn't type the username/password every time visite the site.
So I should use cookie, but i have no experience on rails' cookie. As far as I konw, I shoud write the cookie when the user fist login successful, and when another day the user visite the web site again, first, the index controller should read the cookie from client's browse. and let the status change to login if the username/hashed passwd in cookie file is correctly..
Am i right?If any guy use the cookie for rails, thanks to share ur exp. to me.
you can send me the email by email@example.com.