Sessions, cached pages, and the tmp folder


#1

I’ve been running edge rails for a while but I can’t seem to get my
sessions and to be written to the rails_root/tmp folder. My sessions
keep getting wrote to the servers /tmp directory. What do I need to do
to get rails to use the new tmp folder? Thanks in advance

Charlie B.
www.recentrambles.com


#2

It took me a while but I figured this one out on my own.

rake tmp:cache:clear # Clears all files and directories in
tmp/cache

rake tmp:clear # Clear session, cache, and socket files
from tmp/
rake tmp:create # Creates tmp directories for sessions,
cache, and sockets
rake tmp:sessions:clear # Clears all files in tmp/sessions
rake tmp:sockets:clear # Clears all ruby_sess.* files in
tmp/sessions

Hope this helps somebody.

Charlie B.
www.recentrambles.com