Skip to content
This repository has been archived by the owner on Feb 14, 2018. It is now read-only.

make session store configurable #228

Merged
merged 1 commit into from
May 14, 2012
Merged

make session store configurable #228

merged 1 commit into from
May 14, 2012

Conversation

mruzicka
Copy link

This makes it possible to specify other session stores than the default Rack::Session::Cookie (which doesn't seem to behave well when the Federated Wiki is run in the Passenger environment).
The store to use is specified by setting the environment variable SESSION_STORE to the name of the class implementing the store, for example:

SESSION_STORE="Rack::Session::Memcache"

Note that all prerequisites of the session store implementation specified in this way must be added to the Gemfile so that they are on the ruby load path and can be loaded when needed. (This patch adds memcache-client to the Gemfile, which is a prerequisite of the Rack::Session::Memcache.)

WardCunningham added a commit that referenced this pull request May 14, 2012
make session store configurable
@WardCunningham WardCunningham merged commit 27a54d0 into WardCunningham:master May 14, 2012
@WardCunningham
Copy link
Owner

Thanks for tracking this down.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants