I'm trying to implement a "Remember Me" option for a website I'm working on.
I'm creating the cookie using
This creates the cookie fine.Code:cookie = CGI::Cookie.new("name" => "logged_in", "value"=> somedata, "expires" => (Time.now + 30.days)) response.headers["cookie"] << cookie
How would I go about checking to see if the cookie is there, though??
Thanks in advance.