Displaying 1 result from an estimated 1 matches for "get_remember_token".
2006 Apr 05
0
cookies not deleting?????
...com". To fix this, when i set the cookie i
specified the domain to be ".myapp.com". However now when i try to delete
the cookie cookies.delete :myapp_cookie, it wont delete.
Why is that?
Here is my code:
when logging in -
...
cookies[:myapp_cookie] = {:value => logged_in_user.get_remember_token,
:expires => 1.year.from_now,
:domain => ''.myapp.com''}
...
when logging out -
...
cookies.delete :myapp_cookie
...
Any help would be greatly appreciated.
-------------- next part ----------...