Forum: Ruby on Rails Enabling sessions for flash only?

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.
81194a50c0f9bd95d7832a77fdf371bd?d=identicon&s=25 cool_screen_name90001 (Guest)
on 2005-11-25 11:55
(Received via mailing list)
I turned off sessions because I don't need them, and because thousands
of files were getting
created in tmp. But now flash[:yada] doesn't work. I presume that flash
uses sessions. Is there a
way to enabled sessions for flash only?

I also notice that ruby session files are still getting created in /tmp,
though far fewer (about 2
doz). Why are they still getting created? They don't contain anything ("
hash{) anyway.

thanks
csn




__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com
81194a50c0f9bd95d7832a77fdf371bd?d=identicon&s=25 cool_screen_name90001 (Guest)
on 2005-11-25 12:16
(Received via mailing list)
Hmm, if I put this in the app controller:

session :off

and this in the item controller:

session :off, :except=>%w(alpha bravo)

It doesn't work, but just this in the app controller does allow flash to
work (since those two
actions use it):

session :off, :except=>%w(alpha bravo)

Is there a way to specify the controller in :except/:only?

thanks
csn


--- CSN <cool_screen_name90001@yahoo.com> wrote:

> csn
> http://lists.rubyonrails.org/mailman/listinfo/rails
>




__________________________________
Yahoo! Music Unlimited
Access over 1 million songs. Try it free.
http://music.yahoo.com/unlimited/
This topic is locked and can not be replied to.