From: matz@... (Yukihiro Matsumoto) Date: 2003-03-06T18:19:24+09:00 Subject: Re: cookies in eruby mod_ruby Hi, In message "cookies in eruby mod_ruby" on 03/03/06, Daniel Bretoi writes: |Can someone explain how to set/delete cookies using mod_ruby (eruby)? |Or even better, point me to some documentation which will show me how. |I've spent hours trying to find docs and had to cave in. If you're using "cgi.rb" it's like the following: require "cgi" cgi = CGI::new("Html4Tr") cookie1 = CGI::Cookie::new("name", "value1", "value2", ...) cgi.out({"cookie" => [cookie1]}){ "... body of you page" } matz.