From: ara.t.howard@... Date: 2007-02-25T06:17:52+09:00 Subject: Re: Problem with session under cgi file. On Sun, 25 Feb 2007, Jeremy Kemper wrote: >> are you setting the expiration? >> >> cgi = CGI.new >> >> session = CGI::Session.new(cgi, "session_expires" => Time.at(2**31-1)) >> at_exit{ session.update; session.close } > > > Good suggestions, but both should be unnecessary. CGI::Session uses a > finalizer to ensure the session is closed and all the builtin session stores > update on close. No expires means the cookie lives for the duration of the > browser session. yeah i know - i had issues with this just last week though - i'll try to reproduce... -a -- be kind whenever possible... it is always possible. - the dalai lama