From: Tom Sawyer Date: 2003-01-08T10:17:34+09:00 Subject: $cgi = CGI.new w/ mod_ruby dangerous or acceptable? i've run into a couple of spots where it would be nice to have a universally accessabe cgi instance, but i do not know if this is safe, especially considering that mod_ruby can persist globals across requests. could a global cgi object bleed over into unexpecting requests? anyone know what kind of effect something like this would have? on the other hand, what effect does it have to have many CGI.new's in the same script? that's another alternative. thanks, tom -- tom sawyer, aka transami transami@transami.net .''. .''. . *''* :_\/_: . :_\/_: _\(/_ .:.*_\/_* : /\ : .'.:.'. .''.: /\ : ./)\ ':'* /\ * : '..'. -=:o:=- :_\/_:'.:::. | ' *''* * '.\'/.' _\(/_'.':'.' : /\ : ::::: = *_\/_* -= o =- /)\ ' * '..' ':::' === * /\ * .'/.\'. '._____ * | *..* : |. |' .---"| * | _ .--'| || | _| | * | .-'| __ | | | || | .-----. | |' | || | | | | | || | ___' ' /"\ | '-."". '-' '-.' '` |_. ------------------------------------------------------------