I had problems with inclusion: sessions are saved for a simple Sinatra application hosted on passenger / apache. I save the session state [: authorized] in a cookie. It works locally when hosted in Rack :: Handler :: Mongrel, but I can't seem to get the same behavior on the passenger.
I tried two methods to enable sessions, both of which do not work on the passenger / apache enable setting: sessions
and
use Rack :: Session :: Pool ,: domain => 'example.com' ,: expire_after => 60 * 60 * 24 * 365
Any ideas on how to fix it?
source share