The session is working fine. During the ajax request i can read the session 
normally. But anything i write to it does not shows up in the next requests.
In all other scenario it works great.

I can reproduce this situation any time just by creating an empty project 
(rails 3.0.8) with an simple scaffold. Put an ajax request on the onload 
event (of, say, the index page) that calls any action of the controller (say 
the edit action).
If i write anything to the session on the index action i can read it in the 
edit action. But if i write to the session on the edit action (during the 
ajax call) then, the next time i hit the index action, it doesn't show what 
i wrote on the edit action. Very strange.

Btw, the me object is just a string.
Thanks

-- 
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/-/0nKpfOwM018J.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to