Enabling sessions for flash only?


#1

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


#2

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 removed_email_address@domain.invalid 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/