ruby thread
ruby cgi cookie