is this possible? i'm serving a rails app into an iframe and i'm testing in chrome with "block third-party cookies" selected because it's not safe to assume that third-party cookies won't be blocked. iframes are treated as third parties so i need the app to function independently of cookies. i've done a boatload of googling an fiddling already, and it seems that even if you change ".config.session_store :cookie_store" to active_record_store or mem_cache_store (plus the additional configuration/gems those entail), the persistence of session data is STILL dependent on the availability of cookies, which is kind of a fake out with regards to the name of that config.
at this point i have resorted to running memcached putting this:
def write(k,v)
Rails.cache.write(request.remote_ip.gsub('.', '')+k,v)
end
def read(k)
Rails.cache.read(request.remote_ip.gsub('.', '')+k)
end
in my application_controller and using it as i would "session[:foo] = bar" or "session[:foo]". it works, but i don't feel great about it due to the nature of IP addresses. is there a better way to accomplish this?