ruby on rails 3 - Devise sign-in not working in IE through an iframe -


i don't see error messages in log file, , there no message on screen. logging in rails 3 app served in iframe site results in being returned main site without user being logged in.

it sounds rails app not recognizing cookie through iframe. has else run problem? go see error is?

please note occurs in ie, version 8 (maybe occurs in 7 , 6, haven't tested yet).

james correct, ie has security in place prevent iframes generating cookies. there's easy fix this, include following response header controller:

response.headers['p3p'] = 'cp="non dsp cor cura ivaa ivda cona our nor sta"' 

source: http://adamyoung.net/ie-blocking-iframe-cookies


Comments

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -