From: Michael Neumann Date: 2001-07-24T18:44:25+09:00 Subject: [ruby-talk:18419] Re: mod_ruby - persistent variables? On Tue, Jul 24, 2001 at 06:09:59PM +0900, Domingo Alvarez Duarte wrote: > Shugo Maeda wrote in message news:<87u202on1y.wl@studly.priv.netlab.jp>... > > Hi, > > > > At Mon, 23 Jul 2001 22:48:51 +0900, > > Michael Neumann wrote: > > > Is it possible to share variables over multiple request, as this > > > is possible with FastCGI. > > > I think it isn't legally but maybe I am wrong. > > > What happens with global variables? Are they removed after > > > each running script? > > > > You can't share variables because Apache creates multiple > > processes. > > So it is not a good idea to use global variables on mod_ruby. Thanks for the clarification. I heard it once before anywhere but wasn't really sure about it. Is this fact only true for mod_ruby or behaves mod_perl etc.. in the same way? Regards, Michael -- Michael Neumann *** eMail uu9r@rz.uni-karlsruhe.de