2007-11-29 18:04:06 UTC
suggestions people could provide.
My application uses active-record-based sessions. In development mode,
the app works fine with sessions, no problems. But in production mode,
the process works for a while (a few hours, maybe more), but at a
certain point the session mechanism stop working.
It looks like the system stops storing new session info. Instead, it
appears to continually (with each step in a controller) create a new
session object, and delete the old one, erasing previous data and so
preventing anyone from really logging in. When this happens, sessions
in development mode (using Webrick, Mongrel, or Lighttpd) are still
If I restart the production webserver, the sessions process works
again, for a while. But then the same problem resurfaces.
The production server is Mongrel being proxied by Apache. I've
experienced this same problem running Lighttpd proxied via Apache. The
application uses the reverse_proxy_fix plugin.
Thanks for any help!
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to firstname.lastname@example.org
To unsubscribe from this group, send email to email@example.com
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en