From: David Susco Date: 2008-09-30T01:52:32+09:00 Subject: ruby cgi, add params and redirect I'm looking for a way to add parameters to a cgi object and then redirect the user to another cgi script off site. ----- require "cgi" cgi = CGI.new cgi.params['new_param'] = "new_value" ... cgi.header("status" => "302", "location" => "offsite_script.cgi") ----- I can add parameters no problem as above, but the offsite script isn't receiving the added parameters. Is this because the redirect is happening before the parameters are being added? Is there another way to do this? Thanks, Dave -- Posted via http://www.ruby-forum.com/.