title: Session.get does not set variable in Meteor.js
body: <p><code>fruit</code> is a variable that is shared between template helpers <code>Template.fruits.name</code> and <code>Template.fruits.nick</code> to prevent duplicating code in each individual helper function.</p>
  
  <p>However when the <code>change #fruit-selector</code> event handler is triggered, the shared variable <code>fruit</code> does not change even though its set by <code>Session.get('fruit')</code>.</p>
  
  <p>Does this mean I cannot use this approach of declaring <code>fruit</code> variable as shown if I want it to be reactive?</p>
  
  <p><strong>main.js</strong></p>
  
  <pre><code>(function() {
  
      // Set default fruit
      if(!Session.get('fruit')) {
          Session.set('fruit', 'apple');
      }
  
      var fruit = Session.get('fruit');
  
  
      Template.fruits.name = function() {
          return fruit;
      };
  
      Template.fruits.nickname = function() {
          return fruit + 'y';
      };
  
      Template.fruits.name2 = function() {
          return Session.get('fruit');
      };
  
  
      Template.fruits.events({
          'change #fruit-selector': function(e) {
              Session.set('fruit', e.target.value);
              console.log('fruit: ' + fruit)
          }
      });
  
  }());
  </code></pre>