I am using encrypted cookies to pass data to my rails app. Once these cookies get set, they are being passed just fine to my app from Chrome, Firefox, Safari (iOS and OSX version), etc.
However, the cookie isn’t being passed back when I do the same on Win7/IE9.
I’m using Ruby 1.9 and Rails 3, and using the cookies.permanent.encrypted method of setting the cookie. E.g:
cookies.permanent.encrypted[:some_data] = object.some_data
Any ideas about what’s going on?
It turns out it has to do with my P3P policy not getting passed correctly prior to the cookies being set. IE prevents cookies if that’s the case, other browsers apparently don’t care about that.