So, what's the difference between session[:large_fonts] and cookies[:large_fonts]?
I had just about decided to keep the state in the session when I saw the cookies[:large_fonts] example. The one issue with keeping the state in the session is that it makes it much more difficult to bookmark the :large_fonts version of the page. By appending ?fontsize=large&contrast=normal to every link, the end user can easily bookmark the page with the correct settings. I'm guessing from the thundering silence that the need to append a set of parameters to every generated link doesn't come up that often. When I've encountered this sort of situation in the past, it has generally been a good indicator that I'm attempting to make my life more difficult than it needs to be and that I should rethink my original problem. It seems that the RoR way to go is to store the state in the session or in a cookie. I don't know how important it might prove to be to be able to bookmark the correctly font sized pages, so I'm going to wait until somebody asks for it. Thanks again for the tips. --wpd --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

