From shinohara.shunichi at future.co.jp Mon Nov 19 21:38:21 2007 From: shinohara.shunichi at future.co.jp (shinohara.shunichi at future.co.jp) Date: Tue, 20 Nov 2007 11:38:21 +0900 Subject: [ap4r-user] Thank you for enquete answers, and we uploaded the slides at RubyConf07 Message-ID: <14CE73B79D552644B7CBEF0428763DF603A066B7@045MAIL.future.co.jp> Dear AP4R users, Thank you very much for answers to collect AP4R's real examples. With them, the AP4R team made a presentation at RubyConf07. http://rubyconf.org/agenda.html Kiwamu has uploaded the slides to rubyforge and slideshare. # both are the same. rubyforge: https://rubyforge.org/docman/view.php/1765/2806/AP4R_on_RubyConf2007.pdf slideshare: http://www.slideshare.net/kiwamu/ap4r-on-rubyconf2007/ I'm sorry that I could not list all the received examples. Please forgive me. I want to collect every answer (which can be open to public) at AP4R's wiki. Please lend me at that time! P.S. There are some photos of RubyConf07 at flicker (tagged by rubyconf07). You can look at us: http://www.flickr.com/photos/dwortlehock/1831727419/ . (Right is Kiwamu and left is me). Kiwamu is clearer and laughing at: http://www.flickr.com/photos/dwortlehock/1832555890/ . Best regards, shino From julien.genestoux at gmail.com Sat Nov 24 20:33:42 2007 From: julien.genestoux at gmail.com (Julien Genestoux) Date: Sat, 24 Nov 2007 17:33:42 -0800 Subject: [ap4r-user] Sessions exploding? Message-ID: <21491C7E-05C1-4A8E-AB8B-007F00529E1C@gmail.com> Hi! I am new to AP4R, using it for barely one month. It's a very powerful tool that suits my need and I would love to go further with it. I have however a little problem using it : my /tmp/sessions directory is exploding... and affecting my app's performances. How do you manage them? Any clue would be greatly appreciated! Thanks, -- Julien Genestoux julien.genestoux at gmail.com http://www.ouvre-boite.com +1 (415) 254 7340 +33 (0)8 70 44 76 29 From kato.kiwamu at future.co.jp Mon Nov 26 03:39:34 2007 From: kato.kiwamu at future.co.jp (kato.kiwamu at future.co.jp) Date: Mon, 26 Nov 2007 17:39:34 +0900 Subject: [ap4r-user] Sessions exploding? In-Reply-To: <21491C7E-05C1-4A8E-AB8B-007F00529E1C@gmail.com> References: <21491C7E-05C1-4A8E-AB8B-007F00529E1C@gmail.com> Message-ID: <14CE73B79D552644B7CBEF0428763DF603A06BAE@045MAIL.future.co.jp> Hi Julien, Thank you for your interest in AP4R! > I have however a little problem using it : my /tmp/sessions directory is exploding... and affecting my app's performances. > How do you manage them? I'm not good at Rails, but I found the following option. By using it, you can turn off session management for asynchronous actions. Module: ActionController::SessionManagement::ClassMethods http://api.rubyonrails.org/classes/ActionController/SessionManagement/ClassMethods.html#M000130 === # turn off session management for all actions. session :off # turn off session management for all actions _except_ foo and bar. session :off, :except => %w(foo bar) # turn off session management for only the foo and bar actions. session :off, :only => %w(foo bar) ... === I hope this helps you. Aside from this, I'll consider security at some future day. Thanks, kiwamu -----Original Message----- From: ap4r-user-bounces at rubyforge.org [mailto:ap4r-user-bounces at rubyforge.org] On Behalf Of Julien Genestoux Sent: Sunday, November 25, 2007 10:34 AM To: ap4r-user at rubyforge.org Subject: [ap4r-user] Sessions exploding? Hi! I am new to AP4R, using it for barely one month. It's a very powerful tool that suits my need and I would love to go further with it. I have however a little problem using it : my /tmp/sessions directory is exploding... and affecting my app's performances. How do you manage them? Any clue would be greatly appreciated! Thanks, -- Julien Genestoux julien.genestoux at gmail.com http://www.ouvre-boite.com +1 (415) 254 7340 +33 (0)8 70 44 76 29 _______________________________________________ ap4r-user mailing list ap4r-user at rubyforge.org http://rubyforge.org/mailman/listinfo/ap4r-user From julien.genestoux at gmail.com Thu Nov 29 01:16:49 2007 From: julien.genestoux at gmail.com (Julien Genestoux) Date: Wed, 28 Nov 2007 22:16:49 -0800 Subject: [ap4r-user] Sessions exploding? In-Reply-To: <14CE73B79D552644B7CBEF0428763DF603A06BAE@045MAIL.future.co.jp> References: <21491C7E-05C1-4A8E-AB8B-007F00529E1C@gmail.com> <14CE73B79D552644B7CBEF0428763DF603A06BAE@045MAIL.future.co.jp> Message-ID: <269BEA1C-BFAE-4F0A-B159-497E626742D4@gmail.com> Hi Kiwamu, That's exactly what I was looking for... Thanks a lot for your help! -- Julien Genestoux julien.genestoux at gmail.com http://www.ouvre-boite.com +1 (415) 254 7340 +33 (0)8 70 44 76 29 Le 26 nov. 07 ? 00:39, a ?crit : > Hi Julien, > > Thank you for your interest in AP4R! > >> I have however a little problem using it : my /tmp/sessions >> directory is exploding... and affecting my app's performances. >> How do you manage them? > > I'm not good at Rails, but I found the following option. > By using it, you can turn off session management for asynchronous > actions. > > Module: ActionController::SessionManagement::ClassMethods > http://api.rubyonrails.org/classes/ActionController/SessionManagement/ClassMethods.html#M000130 > === > # turn off session management for all actions. > session :off > > # turn off session management for all actions _except_ foo and bar. > session :off, :except => %w(foo bar) > > # turn off session management for only the foo and bar actions. > session :off, :only => %w(foo bar) > ... > === > > I hope this helps you. > > Aside from this, I'll consider security at some future day. > > Thanks, > kiwamu > > > -----Original Message----- > From: ap4r-user-bounces at rubyforge.org [mailto:ap4r-user-bounces at rubyforge.org > ] On Behalf Of Julien Genestoux > Sent: Sunday, November 25, 2007 10:34 AM > To: ap4r-user at rubyforge.org > Subject: [ap4r-user] Sessions exploding? > > Hi! > > I am new to AP4R, using it for barely one month. It's a very > powerful tool that suits my need and I would love to go further with > it. I have however a little problem using it : my /tmp/sessions > directory is exploding... and affecting my app's performances. > > How do you manage them? > > Any clue would be greatly appreciated! > > Thanks, > > > -- > Julien Genestoux > julien.genestoux at gmail.com > http://www.ouvre-boite.com > +1 (415) 254 7340 > +33 (0)8 70 44 76 29 > > > > _______________________________________________ > ap4r-user mailing list > ap4r-user at rubyforge.org > http://rubyforge.org/mailman/listinfo/ap4r-user > _______________________________________________ > ap4r-user mailing list > ap4r-user at rubyforge.org > http://rubyforge.org/mailman/listinfo/ap4r-user