From: David Morton Date: 2004-07-23T00:52:19+09:00 Subject: Re: mod_ruby or fastcgi+ruby? Gully Foyle wrote: > > When I tried to set a global counter variable just to see what happens, > it appears that each instance of apache process gets its own copy. And I > was under the impression (I could be totally wrong) that only one > request is served up by each process at a time. That's true, as each apache instance gets its own interpreter. To keep track of a counter, use some persistant storage, or, my favorite, ruby::Asp Couldn't a mod_ruby/eruby/asp environment take care of namespace clashes by somehow putting scripts in different applications? As far as I know, I haven't had any such clashes when using perl Apache::Asp.