How can I manage sessions file in tmp

I have huge number of file in tmp/sessions/ , so how can I manage that. It takes many storage spaces. Is It possible to config sessions expire to solve that problem or any plug-ins

Thank You

Have Rails use your database for Sessions.

http://wiki.rubyonrails.org/rails/pages/HowtoChangeSessionStore

-- gw (www.railsdev.ws)

That's a good thing, but as far as actually getting rid of old sessions, a lot of people just have a cron job that removes old session files/rows

Fred

Frederick Cheung wrote: