From: Kent Dahl Date: 2003-01-23T16:23:28+09:00 Subject: Re: mod_ruby: what's persistent and what's shared? Tom Sawyer wrote: > > On Wednesday 22 January 2003 06:46 pm, Paul DuBois wrote: > > The Apache parent process may spawn a number of children. Suppose the > > request from USER1 is serviced by child A. If the request from USER2 > > is also serviced by child A, then it'll be getting the same mod_ruby. > > If it's serviced by a different child, all bets are off. > > > > Moral: You can't rely on the behavior that you appear to want to rely on. > > thanks you very much. i understand now. since i did not know for sure i have > been coding as if this were the case. so all is well. If you want to be able to rely on globally set variables to be shared and such, you really want a single Ruby app at the recieving end. That is, you want IOWA. (Or maybe its just me that wants IOWA very badly after a week of PHP hacking :-/) -- (\[ Kent Dahl ]/)_ _~_ __[ http://www.stud.ntnu.no/~kentda/ ]___/~ ))\_student_/(( \__d L b__/ NTNU - graduate engineering - 5. year ) ( \__\_�|�_/__/ ) _)Industrial economics and technological management( \____/_�_\____/ (____engineering.discipline_=_Computer::Technology___)