Hi,
I have a controller code which does the following
t1= Thread.new {
#some code
session[:executing] = "done"
}
Then in one of the periodic update methods if I access the
session[:executing] it is not updated to "done". Is there a problem if I
try to update session variable in a different thread?
Regards,
Sudhi
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
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
-~----------~----~----~----~------~----~------~--~---