I''ve got a Rails app in which I do not need to use sessions, with one exception: I want to use RoR flash. Now, I much prefer to use true stateless client-server, thus avoiding the hassle of dealing with server-side session information. And I''ve successfully set up my application accordingly. I''m guessing there''s some way to completely disable RoR sessions (though if you want to point me in the right direction, it would save me some research time :-) ). But I do want to use flash. It strikes me that it would be easy to implement flash using a cookie, especially since I''m only using it for limited things that I would happily put in that cookie. It also strikes me that someone else may already have written a plug-in to do this. But I can''t seem to find such a thing. Anyone know of such a beast? Or should I just go ahead and try to write one on my own? Thanks, Joe Dzikiewicz --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
On 7/12/07, Joe Dzikiewicz <jdzik-YDxpq3io04c@public.gmane.org> wrote:> I''ve got a Rails app in which I do not need to use sessions, with one > exception: I want to use RoR flash.Joe, what if you re-enabled sessions, but used the cookie session store? There''s been a lot of discussion about the merits of the cookie store, especially around security, but it sounds pretty much perfect for what you''re wanting to do. Note, though, that the cookie store is on trunk. ~ j. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
You are right - that is exactly what I want. Thanks for pointing it out. Any idea when it is going to be in a production-quality release? We''re not deploying for a while yet, and I would surely like to wait until this is available. Thanks, Joe On Jul 12, 5:22 pm, "John Barnette" <jbarne...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On 7/12/07, Joe Dzikiewicz <jd...-YDxpq3io04c@public.gmane.org> wrote: > > > I''ve got a Rails app in which I do not need to use sessions, with one > > exception: I want to use RoR flash. > > Joe, what if you re-enabled sessions, but used the cookie session > store? There''s been a lot of discussion about the merits of the cookie > store, especially around security, but it sounds pretty much perfect > for what you''re wanting to do. Note, though, that the cookie store is > on trunk. > > ~ j.--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---