Guys, i’m having a problem similar with those reported with rails 3.0.4
sessions with ajax requests.
The problem is that i have an action that receives an ajax POST and sets
session[:user] = me
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
because the token is passed to rails by jquery. And indeed i can access
session hash from within the POST request . But anything I include in
session (within the POST request) is propagate to the next request.
If anyone can help me i would be very thankful.