# Acts\_as\_authenticated session storage

**URL:** <https://www.ruby-forum.com/t/acts-as-authenticated-session-storage/90772>\
**Category:** Rails\
**Created:** [April 1, 2007, 6:47am UTC](https://www.ruby-forum.com/t/acts-as-authenticated-session-storage/90772 "2007-04-01T06:47:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![yottameter](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/y/df705f/32.png) [@yottameter](https://www.ruby-forum.com/u/yottameter)\
**Post date:** [April 1, 2007, 6:47am UTC](https://www.ruby-forum.com/t/acts-as-authenticated-session-storage/90772/1 "2007-04-01T06:47:38Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![yottameter](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/y/df705f/32.png) [@yottameter](https://www.ruby-forum.com/u/yottameter)\
**Post date:** [April 11, 2007, 2:39pm UTC](https://www.ruby-forum.com/t/acts-as-authenticated-session-storage/90772/2 "2007-04-11T14:39:51Z")

</div>

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:

---

<div class="post-metadata">

**Author:** ![yottameter](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/y/df705f/32.png) [@yottameter](https://www.ruby-forum.com/u/yottameter)\
**Post date:** [April 24, 2007, 8:09am UTC](https://www.ruby-forum.com/t/acts-as-authenticated-session-storage/90772/3 "2007-04-24T08:09:35Z")

</div>

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.
