I am trying to open an iframe in my application and its not loading, its giving me a error message like WARNING: Can't verify CSRF token authenticity and logging me out. Cam any one suggest as to what could be the workaround. Thahnks.
This link (Iframe causes Can't Verify CSRF Token Authenticity n Rails) does not answer my question, I have the p3p gem installed my iframe loads correctly, but there is any request that is happening in iframe that time niether p3p headers nor csrf token are sent
Here is how i call my iframe
<iframe name="frmane" id="batch_grid_frame" src="<%= store_batches_path(@store, :id => @batch.id) %>" style="border:none; height:100%;width:100%;"></iframe>
Aucun commentaire:
Enregistrer un commentaire