search for: check_cookies_first

Displaying 1 result from an estimated 1 matches for "check_cookies_first".

2006 Jan 07
2
can store array or hash in cookies?
Hi According to rdoc: value - the cookie''s value or list of values (as an array). So, I can use arrays, briliant. But.... It does not work (at least on webrick) I wrote a controller: def check_cookies_first cookies[:chef] = {:value => ["first", "second"], :expires => Time.local (2020)} render_text ":)" end def check_cookies_second begin render_text "cookies class is: " + cookies[:chef].class.to_s + &q...