Session FileStore directory

how can i specify a different directory to store sessions (default is
/tmp/). my problem is that i am running multiple rails application and
whenever i login in one application, i automatcally get logged in
another application, because the session is sharded, so i want to
specify a different session store directory per rails app.

How can i do that?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs