working on a cgi app and i'm using a module with a module varaible (@@) to 
persist a DBI connection across http requests.

now, i had been opening and closing the connection with each request, but that 
is obviously overhead that i don't need. i should be able to put the 
peristance that mod_ruby allows to good use.

but here's the thing i'm not sure about. if my user dosen't logout properly 
then i have this open connection to the database just hanging about. how do i 
close it? will it close itself after a long enough time out period? is it a 
big deal to have a semi-eternal connection to the database?

thanks for any help,
transami