Hi, I forked off a thread using Thread.new. That thread is supposed to change a session variable. When I check the session variable, it had changed inside the thread. However, this change does not persist after the thread is finished. Does anyone know why? thanks -- Posted via http://www.ruby-forum.com/.
Also, is session[:var] the keyword that will store the hash mapping of var as a session variable? thanks Random wrote:> Hi, > > I forked off a thread using Thread.new. That thread is supposed to > change a session variable. When I check the session variable, it had > changed inside the thread. However, this change does not persist after > the thread is finished. > > Does anyone know why? > > thanks-- Posted via http://www.ruby-forum.com/.