title: Meteor Keeping track of server side var on the client side
body: <p>first question here but i really don't know where to go. I cannot find anything that help me on google.</p>
  
  <p>i'm doing huge processing server side and i would like to keep track of the state and show it on the client side.
  For that purpose i have a variable that i'm updating as the process go through. To keep track of it i'm using that client side:</p>
  
  <pre><code>Template.importJson.onCreated(function () {
      Session.set('import_datas', null);
      this.autorun(function(){
          Meteor.call('readImportState', function(err, response) {
              console.log(response);
              if (response !== undefined) {
                  Session.set('importingMessage',response);
              }
          });
      })
  });
  </code></pre>
  
  <p>I'm reading it from template that way (in template.mytemplate.helpers):</p>
  
  <pre><code>readImportState: function() {
          return Session.get('importingMessage');
      },
  </code></pre>
  
  <p>And here is the server side code to be called by meteor.call:</p>
  
  <pre><code>readImportState: function() {
          console.log(IMPORT_STATE);
          return IMPORT_STATE;
      }
  </code></pre>
  
  <p>The client grab the value at start but it is never updated later....
  What am i missing here? 
  If somebody could point me in the right direction that would be awesome.
  Thank you :)</p>