Forum: Ruby get all cookies from a website

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Mmcolli00 M. (Guest)
on 2009-06-08 23:44
Hi all
Once I reach a website, I want to get a list of all the cookies for that
page. When I run this, the ruby scripts just sits and does nothing. How
do you get the cookie and values from a website using cgi gem? Thanks MC

#Once I login to my website, I run this script.

require 'cgi'
cgi =
#cookie =
puts cgi.cookies
This topic is locked and can not be replied to.