From: evan_leonard@... (Evan Leonard) Date: 2002-03-19T01:04:21+09:00 Subject: Re: CGI.new & cookies error... please help... It seems that it was just an error with the old version of ruby I had installed. I went and checked the exact line in the cgi.rb library that I had and compared it against the new one and found a difference so I just upgraded and it seemed to take care of it - sorry for not trying to obvious sooner. thanks for writing back! -Evan s@xss.de (Stefan Schmiedl) wrote in message news:... > On 15 Mar 2002 00:07:44 -0800, > Evan Leonard wrote: > > # Currently I'm establishing the session like this: > > > > @session = CGI::Session.new($cgi, > > "session_key" => "ays_session", > > "session_path" => "/", > > "tmpdir" => INCLUDES+"sessions", > > "prefix" => "ays-session.", > > "new_session" => true) > > > > > > # Then when I go to the next page where CGI.new is called I get this > > error: > > > > /usr/local/lib/ruby/1.6/cgi.rb:649:in `initialize': bad value for > > range (ArgumentError) > > Just how do you call CGI.new on the other page? > > s.