From: "Pål Bergström" Date: 2010-09-04T18:53:17+09:00 Subject: Re: Read cookie Brian Candler wrote: > > In future I'd recommend you be more specific about what you're trying to > do; post samples of code; and mark the points where you're having > problems. One ambiguous sentence just doesn't cut it, and most people > are likely to skip over it. > Thanks for your time and effort to answer. I appreciate it. I have given detailed explanation for what I wanted to do several times (before this). So I thought I would just ask: Can Ruby access a cookie in a users browser? I could do it with cgi but not anymore. I know I can pass it to the model with a params. But that means sending it on many occasions instead of setting it once. Maybe you have given me a solution to that with Thread-local variables. I will examine your answer more closely. I don't have the before_save and after_find in the controller. It's in the model. -- Posted via http://www.ruby-forum.com/.