# How do we DELETE this new Rails 2.0 "Cookie Store"?

**URL:** <https://www.ruby-forum.com/t/how-do-we-delete-this-new-rails-2-0-cookie-store/125479>\
**Category:** Rails\
**Created:** [January 9, 2008, 3:00pm UTC](https://www.ruby-forum.com/t/how-do-we-delete-this-new-rails-2-0-cookie-store/125479 "2008-01-09T15:00:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [January 9, 2008, 3:00pm UTC](https://www.ruby-forum.com/t/how-do-we-delete-this-new-rails-2-0-cookie-store/125479/1 "2008-01-09T15:00:03Z")

</div>

In the past, I would run this code to clear my session and cookie  
variables;

def clear\_session  
session[:user\_id] = nil  
cookies[:user\_id] = nil  
cookies[:password\_hash] = nil  
end

I would then go into my \Docs & Settings\user\_name\cookies and clear  
out the cookie file.  
Now, in Rails 2.0 (using the new SECRET key) I can’t seem to LOCATE?  
what file this is being stored in so I can;

1. Clear it out (in code)
2. Delete it manually  
I expect this is a common question.  
Thank you,  
Kathleen
