From: Rasputin Date: 2003-07-15T18:22:39+09:00 Subject: Re: ruby-specific CGI question (I think) * Hal E. Fulton [0717 03:17]: > ----- Original Message ----- > From: "Rasputin" > To: "ruby-talk ML" > Sent: Monday, July 14, 2003 9:14 PM > Subject: Re: ruby-specific CGI question (I think) > > > > > By 'remove it' I meant either save the HTML and > > > edit it out and see how it looks (may not be > > > possible) or simply (temporarily) change the > > > library source. > > > > Even easier: > > > > cgi.form() seems to just return a String - see that snippet I sent > earlier: > > > > > > formString = cgi.form(method="get") { > > cgi.text_field("key") + > > cgi.text_field("value") + > > cgi.submit("add") > > } > > > > You should be able to work on formString like any other String, > > remove any garbage that got in there, then just puts() it to the browser. > > Oh, certainly. I'd have seen that if I had > a little less blood in my caffeine stream. :) I'd never have seen it in a million years if cgi/session.rb didn't have lots of head-shaped dents in it after me spending all night trying to get sessions in .rhtml files working.... -- How much does it cost to entice a dope-smoking UNIX system guru to Dayton? -- Brian Boyle, UNIX/WORLD's First Annual Salary Survey Rasputin :: Jack of All Trades - Master of Nuns