On Wed, Jul 15, 2009 at 6:34 PM, Patrick Doyle<wpds...@gmail.com> wrote:
>
> So, what's the difference between session[:large_fonts] and
> cookies[:large_fonts]?

> 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.

If you use a persistent cookie, any bookmarked page will appear in
whatever setting was selected when your visitor left the site.

-- 
Hassan Schroeder ------------------------ hassan.schroe...@gmail.com
twitter: @hassan

--~--~---------~--~----~------------~-------~--~----~
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 rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to