当前位置: 动力学知识库 > 问答 > 编程问答 >

Session does not persist across delete/destroy request in Rails 3

问题描述:

I'm using session to persist data across requests and it works well, except when it is a delete request. In this case, my session is getting destroyed. Does anyone know how to solve that?

I have a session[:navigation] that stores the title of every page to show as breadcrumbs. It works when I navigate from one page to another, but it cleans when I click any delete button (triggering a delete request).

Does delete request normally erase a session? Is there a way to avoid that?

分享给朋友:
您可能感兴趣的文章:
随机阅读: