I'm experiencing an odd error with CGI and sessions.

# 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)

# The session files are being created just fine and the
# outputted headers look exactly like this:

Content-Type: text/html Set-Cookie: ays_session=9f3f3d77504d77af;
path=/


# 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)
from /usr/local/lib/ruby/1.6/cgi.rb:717:in `new'
from /usr/local/lib/ruby/1.6/cgi.rb:717:in `parse'
from /usr/local/lib/ruby/1.6/cgi.rb:709:in `each'
from /usr/local/lib/ruby/1.6/cgi.rb:709:in `parse'
from /usr/local/lib/ruby/1.6/cgi.rb:940:in `initialize_query'
from /usr/local/lib/ruby/1.6/cgi.rb:1889:in `initialize'
from /home/httpd/includes/globals.rb:20:in `new'
from /home/httpd/includes/globals.rb:20
from /home/httpd/allyoursenses/index.rhtml:3:in `require'

##
any ideas?

Thanks in advance!
-Evan