Forum: Ruby on Rails Reading cookies - weird problem

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.
sreechand boppudi (Guest)
on 2006-02-15 18:40
Hello All,
I set a cookie with the following code  -
  cookies[:test1] = "abc"

..and when I try to read it with @cookies[:test1] in one of my views, I
get a nil string. The only thing that seems to work is


Has anyone run into similar issue?

- Sree
This topic is locked and can not be replied to.