Heavy Sixer
2007-Dec-23 04:32 UTC
[Facebooker-talk] Session Errors not related to rails 2.0.2
It appears that the errors, which i said were related to rails 2.0.2 were in fact caused by the session marshaling that occurs between rails and facebook. Because the cookie was being modified by facebook Rails saw it as an invalid session. Here is how I got around this problem. 1. Deleted all my cookies related to my application 2. Changed my session store to an ActiveRecord session store 3. Uncommented the :secret param from the "protect_from_forgery" method inside application.rb 4. Removed my application from my facebook profile 5. Readded the application. Everything seems to work now! Hope that is helpful to someone. Best, Mark