Forum: Ruby on Rails acts_as_authenticated session storage

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
3d9de7385f3767831cd228daef5650f9?d=identicon&s=25 Yottameter (Guest)
on 2007-04-01 06:47
(Received via mailing list)
Ok, I have nothing in my environment.rb regarding sessions, so I
thought it would default to pstore.

I'm using acts_as_authenticated, log in, log out, remember me, etc.
The problem is that I don't see a tmp/sessions directory. Is the
default somehow memory store? I thought it was supposed to be pstore.

Everything in the app is working, I can see the _session_id in my
browser, just not sure what's happening on the server side.

Any help appreciated.
Aa49b153bff89546b265846f9eded83e?d=identicon&s=25 kombatsanta (Guest)
on 2007-04-11 14:39
(Received via mailing list)
I had the same problem, all of a sudden => no bloody sessions. I
commented out:

"before_filter :login_from_cookie"

in account_controller.rb and inserted it in my
application_controller.rb. Hey presto.. sessions started to store
themselves in temp/sessions again.

wierd or am I only dumb? (that was a retorical question ;) )
Yottameter skrev:
3d9de7385f3767831cd228daef5650f9?d=identicon&s=25 Yottameter (Guest)
on 2007-04-24 08:09
(Received via mailing list)
I changed to using ActiveRecord sessions, I don't have any explanation
why we aren't seeing sessions created. With AR sessions, I do see them
in the db.
This topic is locked and can not be replied to.