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. --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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:> 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.--~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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. On Apr 11, 5:39 am, "kombatsanta" <kombatsa...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> 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: > > > 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.--~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---