Brian Candler wrote: > Pål Bergström wrote: >> How can I get the value of a browser cookie with Ruby? > > In what framework? CGI? Rack? Rails? Sinatra? Other? > > If you are writing a CGI there is a 'cookies' accessor. For details see > the comments in the source at /usr/lib/ruby/1.8/cgi.rb (or wherever it > is installed on your system) It's rails. I used CGI but doesn't seem to work anymore. I just want to get a value of a cookie with a ruby script in /lib. What about net/http? -- Posted via http://www.ruby-forum.com/.