I often want to clear the session store in Rails, in particular, the default cookie-based session store. Some sites seem to suggest that
rake tmp:sessions:clear
accomplishes this task, but it appears that it does not. What is the proper way to clear the cookie-based session store?
Change the name of the session cookie. It won't delete the old cookies, but it'll force everyone to get a new session cookie.