Goldberg sessions

7 views
Skip to first unread message

MarkH

unread,
Oct 29, 2009, 10:08:21 PM10/29/09
to Ruby on Rails: Goldberg
Hi All,
I'm getting an error after using the application for some time.
http://api.rubyonrails.org/classes/ActionController/Session/CookieStore/CookieOverflow.html

It would seem that the session begins to overflow. Has anyone got a
good work around for this or have any ideas where I should try to
catch it and reset the session object?

hopefully someone is still using this group ... it seems to be mostly
full of tumbleweeds and spam.

thanks
mark

James Silberbauer

unread,
Oct 30, 2009, 12:55:17 AM10/30/09
to rubyonrail...@googlegroups.com
Hi Mark,

I had a problem like this some time back. The menu history was filling
up the session data when someone navigated a lot in a session. As I
didn't need the history in the session, I chopped it out and things
improved.

In AuthController I commented out
# session[:goldberg][:menu_history][session[:goldberg][:path]] =
# session[:goldberg][:menu_item]

This may not be your problem, but I hope this helps anyway.

I recently converted my application to run without Goldberg because of
issues like this and the lack of activity in this group.

James

Mark Hankey

unread,
Oct 30, 2009, 1:52:44 AM10/30/09
to rubyonrail...@googlegroups.com
James,
this sounds exactly like the problem I've been having thanks for that.

Sorry to hear that you're not using Goldberg anymore but completely understand. Have you found anything to give you similar functionality that is more active or did you end up implementing your requirements from scratch?

regards
Mark

James Silberbauer

unread,
Oct 30, 2009, 2:36:14 AM10/30/09
to rubyonrail...@googlegroups.com
Hi Mark,

I use Authlogic for authentication and wrote my own menu-handling,
authorization and CMS code, keeping it simple.
I meant to blog about the conversion but haven't gotten 'round to it yet.

Regards
James
Reply all
Reply to author
Forward
0 new messages