From: Tom Sawyer Date: 2003-01-23T10:19:10+09:00 Subject: mod_ruby: what's persistent and what's shared? i'm tired of being confused about this and i'm hoping someone can clear this up for me. when i make a request to apache on a mod_ruby script, i know that the ruby interpreter is embedded into apache so that a new instace of ruby does not have to be started every time. so then global variables and class definitions including class variables persist between connections. right? so if i'm USER1 and i request a ruby app that creates a global variable or an object instance with a defined class variable, then when USER2 requests the same app, will the gloabal variable or class variable be set as it was for USER1? thanks, -- tom sawyer, aka transami transami@transami.net .''. .''. . *''* :_\/_: . :_\/_: _\(/_ .:.*_\/_* : /\ : .'.:.'. .''.: /\ : ./)\ ':'* /\ * : '..'. -=:o:=- :_\/_:'.:::. | ' *''* * '.\'/.' _\(/_'.':'.' : /\ : ::::: = *_\/_* -= o =- /)\ ' * '..' ':::' === * /\ * .'/.\'. '._____ * | *..* : |. |' .---"| * | _ .--'| || | _| | * | .-'| __ | | | || | .-----. | |' | || | | | | | || | ___' ' /"\ | '-."". '-' '-.' '` |_. ------------------------------------------------------------