We are developing in Rails 2.1.0 and serving the files with mongrels
behind Apache. We are using SqlSessionStore. Recently I noticed that
when logging into our site using IE7 the session doesn’t persist in
some situations, and persists when it shouldn’t.
For instance when I log in my info is maintained when visiting certain
pages, but disappears on others. The info never fully disappears, it
just is only accessible certain situations. I can’t log out either.
Lastly if I close IE7 and reopen the browser my session is still
So here are some things to take into account - Everything works fine
in development using a similar mongrel/apache/ssl setup. This would
make me think it might be the live server, but we have another ror
site that works fine. I guess this doesn’t eliminate the server.
What is puzzling is the session persists, but for some reason it
doesn’t get recognized on some requests. It seems another session
would be created in those cases, but one is not when I view the
sessions table. Also the fact that I can’t log out is weird.
Most of what I can find has to do with iframes and setting p3p in the
response, but that hasn’t worked and it seems that in those cases the
session isn’t persisting at all, which is different from our issue.