1. where does rails put cookie ? 2. i usually set php.ini to C:\Windows\Temp or in /tmp when I''m on Linux to make sure that my session (not cookie though) is there. 3. i can delete sessions in /tmp directly in php , can i do it in rails ? (not just from empty_cart method) stillnewbie and curious
> 1. where does rails put cookie ?If by cookie, you mean the session files, rails by default stores them in /tmp (nix). Cookie''s are stored client side, location being dependant on the browser.> 3. i can delete sessions in /tmp directly in php , can i do it in > rails ? (not just from empty_cart method)@session[:object] = nil is enough to clear the specified object. Michael
On 6/27/05, stillnewbie <stillnewbie-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> 1. where does rails put cookie ?i mean when i''m using webrick (localhost:3000) so i''m the client who has the cookie right? my question : where is that cookie ? Paul stillnewbie ''n curious
> i mean when i''m using webrick (localhost:3000) so i''m the client who > has the cookie right? my question : where is that cookie ?That depends on your browser and OS. Rails has nothing to do with where it''s stored. -- rick http://techno-weenie.net