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.
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 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.