View Full Version : Devise session ends after ExtJs ajax request

31 Oct 2011, 2:52 AM
I am using Devise with Rails 3.0.6 and ExtJS 4.0.6. Devise Session ends after every AJAX Request from ExtJs.I have gone through the links given here (http://stackoverflow.com/questions/5124097/devise-rails-3-0-4-ends-session-after-ajax-request) and here (http://weblog.rubyonrails.org/2011/2/8/csrf-protection-bypass-in-ruby-on-rails), but no luck.
What could be the possible workaround for the same?P.S: Code given here (http://stackoverflow.com/questions/5124097/devise-rails-3-0-4-ends-session-after-ajax-request) is already present within rails.js in rails 3.0.6.