How can I avoid this warning?

16 views
Skip to first unread message

Mohammed Niyas

unread,
May 26, 2011, 7:28:05 AM5/26/11
to rubyonra...@googlegroups.com
Hi all,

Im using mongodb database in my rails 3 app.i tried to implement
facebook and twitter login in my applications but i failed, one warning
will occure.

The warning is, "ActionDispatch::Cookies::CookieOverflow"

Someone explain for this solutions: You need change your session_store
and don't use the cookie_store. You can use the active_record_store by
example.

I cant understand this solution, How to solve this warning, can anyone
explain..........

Thanks and Regards......

--
Posted via http://www.ruby-forum.com/.

loganathan sellappa

unread,
May 26, 2011, 8:12:42 AM5/26/11
to rubyonra...@googlegroups.com
Hi Niyas ,
  Hope you've set the whole user record in a session,just set like this session[:current_user]=@my_user.id
Regards,
Loganathan.s


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


Cris F.

unread,
May 26, 2011, 2:03:21 PM5/26/11
to rubyonra...@googlegroups.com
Hi

http://api.rubyonrails.org/classes/ActionDispatch/Cookies/CookieOverflow.html

The problem is you are probably storing a large amount of data in your
cookies. possibly your session. So try looking at the data you are
storing on your sessions. Try to limit the data being passed around from
your browser to your server.

Reply all
Reply to author
Forward
0 new messages