Thanks lot bacrossland .

Best Regards
Fahim


Answers
 
1. It is default feature of the browser. The browser will ask you if you 
want your password remembered for this site. If you click yes then it will 
store the site URL, login ID and password into a keychain file. That 
keychain file will be used to auto populate the login fields the next time 
you come navigate to the page and are presented with the login prompt.

2. Remember me stores your authentication token as a cookie on your system. 
As long as you don't click logout, clear your cookies, or have not exceeded 
the time that the cookie will be stored each time authentication is 
prompted, for instance if your session times out, then you will be auto 
logged back in. Its function is more like "keep me logged in". 

On Tuesday, July 30, 2013 1:18:16 PM UTC+5:30, Fahim Patel wrote:
>
> Hi all,
>
> I have setup all the devise configuration. But facing issue in remember me.
> I check remember me checkbox before sign in and I can see cookie is 
> created and user table is also get updated .
>
> But when I logout no sign in detail is present in email and password input 
> box , and cookie also get destroyed.
>
> I uncomment below line code also -
> # The time the user will be remembered without asking for credentials 
> again.
>   config.remember_for = 2.weeks
>
> Thanks for help.
>
>
> Best Regards
> Fahim Babar Patel
>
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/4fc4dad4-c51e-456b-ad4d-ad6a3ed887cf%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to