Craig White wrote: > Do I need to discard some of the data that I've already accrued in > instance variables and re-acquire the data in my controller to shrink > the amount I 'POST' ? Would that help with the CookieOverflow ? Is it > possible to increase the size permitted ?
Cookies have a maximum size of 4K. That's how they were implemented and it has nothing to do with Rails. I suspect some object might be getting stored in your session. I would start by trying to track down exactly what is getting stored in the session cookie. If you must store more than 4K in your session then you'll need to change from the default session storage to one of the other options. But, you should first try to figure out why your session is larger than 4K and see if you can work around that. A common problem is storing ActiveRecord objects in the session rather than just storing the id and looking up the ActiveRecord object on each request. Don't worry Rails should cache the SQL so it shouldn't be too much of a performance hit. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

