Guys, i'm having a problem similar with those reported with rails 3.0.4 and 
sessions with ajax requests.

The problem is that i have an action that receives an ajax POST and sets an 
session.

  def test
    session[:user] = me
  end

but the session vanishes and don't become available in the next request.
The routes are OK, and anything else are working fine.

I don't believe that this relates to the csrf-token problem of rails 3.0.4 
because the token is passed to rails by jquery. And indeed i can access the 
session hash from within the POST request . But anything I include in the 
session (within the POST request) is propagate to the next request.

If anyone can help me i would be very thankful.
Dimas Cyriaco

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/rubyonrails-talk/-/Rrc10BVjxKsJ.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to