From: David Susco Date: 2008-10-01T02:21:31+09:00 Subject: Re: ruby cgi, add params and redirect Good ideas, but the offside script needs the post method and doesn't accept parameters passed through the URL. I also don't have the ability to change the offsite script so cookies are out as well. Is there no way to forward a user on? This is easy enough to do on the client side with Javascript, but if a user has scripting turned off none of it will work. Dave Martin Boese wrote: > You should use cookies (maybe with cgi session), or add the paramenters > to the > url, for example: > > puts cgi.header('status' => 'REDIRECT', > 'location' => 'offsite_script.cgi?new_param=new_value') > > > http://www.ruby-doc.org/core/classes/CGI/Session.html > http://www.ruby-doc.org/core/classes/CGI/Cookie.html -- Posted via http://www.ruby-forum.com/.